LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] gnuplot - date and time of plot ?

[ILUG] gnuplot - date and time of plot ?

Padraig Brady padraig.brady at corvil.com
Thu Oct 10 16:56:03 IST 2002


Declan Grady wrote:
> Hi,
> I'm working with gnuplot, creating psotscript files for printing from an
> ascii file with 2 columns.
> 
> I'd like to have the first line of the ascii file to have the date and time
> of the measurments, and an alphanumeric reference number, but I also need
> to exclude this line from my plotted data.
> 
> Ideally, I'd like to pick up this info, in the graph title.
> 
> I've been googling for a "while" now and cannot find a way to do it.
> 
> I'm sure someone has a way ?
> 
> Thanks,
> Declan
> 
gnuplot supports executing external commands I think
so you can probably do something like:

title `head file | cut -f2`
plot file using "format"

Note gnuplot will ignore lines it can't plot (or that don't match
the format) automatically.

Padraig.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell