|
From: markjoe <na...@ma...> - 2009-07-07 15:34:18
|
then cat the files before starting gnuplot On Tue, Jul 7, 2009 at 1:20 PM, Seger, Mark<mar...@hp...> wrote: > Sounds good. The only thing is I have multiple lines I want to generate and so do something like: > > Plot file1 using, file1 using, file1 using... then repeat it again for the second files, etc... > > Does this mean Linux will have to re-cat the files each time or is there a way to tell gnuplot to only do it once? These are big files, typically 2-5MB with hundreds of columns in them and I worry about efficiency. I do know doing it the way I current do is very fast especially since the first time I read a file it gets cached and I'm on not sure what happens with 'cat'. I'd think the results do not get cached and would have to be regenerated for each line I want to plot. For some plots there can be as many as 16 lines. > > -mark > >>-----Original Message----- >>From: mar...@gm... [mailto:mar...@gm...] On Behalf >>Of markjoe >>Sent: Tuesday, July 07, 2009 8:05 AM >>To: Seger, Mark >>Cc: gnu...@li... >>Subject: Re: [Gnuplot-info] plotting multiple files with a single plot >>command causes 'holes' in the plots >> >>plot "< cat file1 file2" using >> >>On Tue, Jul 7, 2009 at 11:16 AM, Mark Seger<Mar...@hp...> wrote: >>> I think I understand what's happening but I'm wondering if there are >>any >>> 'tricks' to get around this. >>> >>> I have 2 files that represent 2 days worth of data I want to plot with >>> data samples 10 seconds apart. The first plot ends at 00:00:50 and >>the >>> second starts at 00:01:00 and my plot command is of the form: >>> >>> plot file1using, file2 using >>> >>> As expected I get one line that ends at 00:00:50 and a second that >>> begins at 00:01:00 and I'm wondering if there might be some way to get >>> gnuplot to treat this a one contiguous file. If there is a 'trick', >>> could you let me know if it will work for all recent versions of >>> gnuplot, say from 4.0 forward, or would I need the latest version? >>> >>> thanks in advance, >>> -mark >>> >>> >>> ---------------------------------------------------------------------- >>-------- >>> Enter the BlackBerry Developer Challenge >>> This is your chance to win up to $100,000 in prizes! For a limited >>time, >>> vendors submitting new applications to BlackBerry App World(TM) will >>have >>> the opportunity to enter the BlackBerry Developer Challenge. See full >>prize >>> details at: http://p.sf.net/sfu/blackberry >>> _______________________________________________ >>> Gnuplot-info mailing list >>> Gnu...@li... >>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >>> > |