|
From: Chris H. <ch...@be...> - 2005-02-04 07:14:59
Attachments:
generated-chart-code.gp
|
I'm having a bit of trouble getting a plot to be successfully created. It'= s a lot of data to plot, so I'm curious whether I've hit some limit in GNUplot,= or whether I'm just doing something stupid. I don't think it's stupid - because I've written two Perl scripts to check = the data I'm trying to plot and make sure that it won't irritate GNUplot. The specific message I receive is below. I've attached the plot instruction file and can send along the data it's working on, too, if anyone wants. For now, I'll just post it here if you want to go get it on your own: http://www.beefstew.net/downloads/memory-profile.txt.gz (256019 bytes) The error: gnuplot> plot 'memory-profile.txt' using 1:10 with linespoints 18, 'memory-= profile.txt' using 1:11 with linespoints 18, 'memory-profile.txt' using 1:1= 2 with linespoints 18, 'memory-profile.txt' using 1:13 with linespoints 18,= 'memory-profile.txt' using 1:14 with linespoints 18, 'memory-profile.txt' = using 1:15 with linespoints 18, 'memory-profile.txt' using 1:16 with linesp= oints 18, 'memory-profile.txt' using 1:17 with linespoints 18, 'memory-prof= ile.txt' using 1:18 with linespoints 18, 'memory-profile.txt' using 1:2 wit= h linespoints 18, 'memory-profile.txt' using 1:20 with linespoints 18, 'mem= ory-profile.txt' using 1:22 with linespoints 18, 'memory-profile.txt' using= 1:25 with linespoints 18, 'memory-profile.txt' using 1:3 with linespoints = 18, 'memory-profile.txt' using 1:30 with linespoints 18, 'memory-profile.tx= t' using 1:32 with linespoints 18, 'memory-profile.txt' using 1:34 with lin= espoints 18, 'memory-profile.txt' using 1:35 with linespoints 18, 'memory-p= rofile.txt' using 1:36 with linespoints 18, 'memory-profile.txt' using 1:37= with linespoints 18, 'memory-profile.txt' using 1:38 with linespoints 18, = 'memory-profile.txt' using 1:39 with linespoints 18, 'memory-profile.txt' u= sing 1:4 with linespoints 18, 'memory-profile.txt' using 1:40 with linespoi= nts 18, 'memory-profile.txt' using 1:41 with linespoints 18, 'memory-profil= e.txt' using 1:42 with linespoints 18, 'memory-profile.txt' using 1:43 with= linespoints 18, 'memory-profile.txt' using 1:44 with linespoints 18, 'memo= ry-profile.txt' using 1:45 with linespoints 18, 'memory-profile.txt' using = 1:46 with linespoints 18, 'memory-profile.txt' using 1:47 with linespoints = 18, 'memory-profile.txt' using 1:48 with linespoints 18, 'memory-profile.tx= t' using 1:49 with linespoints 18, #'memory-profile.txt' using 1:5 with lin= espoints 18, 'memory-profile.txt' using 1:50 with linespoints 18, 'memory-p= rofile.txt' using 1:51 with linespoints 18, 'memory-profile.txt' using 1:52= with linespoints 18, 'memory-profile.txt' using 1:53 with linespoints 18, = 'memory-profile.txt' using 1:54 with linespoints 18, 'memory-profile.txt' u= sing 1:55 with linespoints 18, 'memory-profile.txt' using 1:56 with linespo= ints 18, 'memory-profile.txt' using 1:57 with linespoints 18, 'memory-profi= le.txt' using 1:58 with linespoints 18, 'memory-profile.txt' using 1:59 wit= h linespoints 18, 'memory-profile.txt' using 1:6 with linespoints 18, 'memo= ry-profile.txt' using 1:60 with linespoints 18, 'memory-profile.txt' using = 1:61 with linespoints 18, 'memory-profile.txt' using 1:62 with linespoints = 18, 'memory-profile.txt' using 1:63 with linespoints 18, 'memory-profile.tx= t' using 1:64 with linespoints 18, 'memory-profile.txt' using 1:7 with line= spoints 18, 'memory-profile.txt' using 1:8 with linespoints 18, 'memory-pro= file.txt' using 1:9 with linespoints 18 = = = = = = = = = = = = = = = = = = = = = = = ^ "generated-chart-code.gp", line 73: function to plot expected Many thanks in advance. Chris Horn. |
|
From: Juergen W. <wie...@fr...> - 2005-02-04 07:47:42
|
On Friday 04 February 2005 08:14, Chris Horn wrote: > I'm having a bit of trouble getting a plot to be successfully created. > It's a lot of data to plot, so I'm curious whether I've hit some limit in > GNUplot, or whether I'm just doing something stupid. [...] > gnuplot> plot 'memory-profile.txt' using 1:10 with linespoints 18, > 'memory-profile.txt' using 1:11 with linespoints 18, 'memory-profile.txt' > using 1:12 with linespoints 18, 'memory-profile.txt' using 1:13 with > linespoints 18, 'memory-profile.txt' using 1:14 with linespoints 18, [...] > 'memory-profile.txt' using 1:46 with linespoints 18, 'memory-profile.txt' > using 1:47 with linespoints 18, 'memory-profile.txt' using 1:48 with > linespoints 18, 'memory-profile.txt' using 1:49 with linespoints 18, > #'memory-profile.txt' using 1:5 with linespoints 18, 'memory-profile.txt' > using 1:50 with linespoints 18, 'memory-profile.txt' using 1:51 with > linespoints 18, 'memory-profile.txt' using 1:52 with linespoints 18, [...] Put the comment sign before the comma. Juergen |
|
From: Chris H. <ch...@be...> - 2005-02-04 08:06:11
|
On Friday 04 February 2005 02:46, Juergen Wieferink wrote: > > 'memory-profile.txt' using 1:46 with linespoints 18, 'memory-profile.txt' > > using 1:47 with linespoints 18, 'memory-profile.txt' using 1:48 with > > linespoints 18, 'memory-profile.txt' using 1:49 with linespoints 18, > > #'memory-profile.txt' using 1:5 with linespoints 18, 'memory-profile.txt' > > using 1:50 with linespoints 18, 'memory-profile.txt' using 1:51 with > > linespoints 18, 'memory-profile.txt' using 1:52 with linespoints 18, > > [...] > > Put the comment sign before the comma. Thanks! It was something stupid, after all! Now, if I could only figure out why I am continuously hit with errors like this: "generated-chart-code.gp", line 72: all points y value undefined! This is probably beyond this mailing list, but with Perl, I wrote a program (because of this error) that checks for any column who's y-values consist solely of only undefined values - and then I don't include those columns in the GNUplot control file. Yet GNUplot still complains. Do I misunderstand this error? Why does it pop up? The Perl can be found here, for whoever's curious: http://www.beefstew.net/downloads/chart-unit-process.pl I run it on the dataset linked in the previous email (although my private copy has column headers that I've stripped out in the public version). Thank you, again, Juergen. Chris Horn. |
|
From: Chris H. <ch...@be...> - 2005-02-04 08:17:54
|
Aha! I figured it out! It was because I was explicitly specifying the xrange. That cause a conflict, because there were plenty of x values with missing y values! Thanks for your help. Chris. On Friday 04 February 2005 03:06, Chris Horn wrote: > On Friday 04 February 2005 02:46, Juergen Wieferink wrote: > > > 'memory-profile.txt' using 1:46 with linespoints 18, 'memory-profile.txt' > > > using 1:47 with linespoints 18, 'memory-profile.txt' using 1:48 with > > > linespoints 18, 'memory-profile.txt' using 1:49 with linespoints 18, > > > #'memory-profile.txt' using 1:5 with linespoints 18, 'memory-profile.txt' > > > using 1:50 with linespoints 18, 'memory-profile.txt' using 1:51 with > > > linespoints 18, 'memory-profile.txt' using 1:52 with linespoints 18, > > > > [...] > > > > Put the comment sign before the comma. > > Thanks! It was something stupid, after all! > > Now, if I could only figure out why I am continuously hit with errors like > this: > > "generated-chart-code.gp", line 72: all points y value undefined! > > This is probably beyond this mailing list, but with Perl, I wrote a program > (because of this error) that checks for any column who's y-values consist > solely of only undefined values - and then I don't include those columns in > the GNUplot control file. Yet GNUplot still complains. > > Do I misunderstand this error? Why does it pop up? > > The Perl can be found here, for whoever's curious: > http://www.beefstew.net/downloads/chart-unit-process.pl > > I run it on the dataset linked in the previous email (although my private copy > has column headers that I've stripped out in the public version). > > Thank you, again, Juergen. > Chris Horn. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > |