|
From: Alexander S. <ale...@gm...> - 2009-02-16 09:43:46
|
Hi. I'm using Gnuplot 4.2.4 and 4.3 CVS (~2009-02-03) to plot some data with the following plot command: plot datafile using 1:($2 > 10000 ? 10001 : $2) smooth bezier with lines title "Smooth Bezier, Capped", \ datafile using 1:2 smooth bezier with lines title "Smooth Bezier", \ datafile using 1:($2 > 10000 ? 10001 : $2) with lines title "Lines, Capped", \ datafile using 1:2 with lines title "Lines", \ datafile using 1:2 with dots title "Dots" Doing so, I noticed that there are "holes" in the curves when I use "smooth bezier". Please see samples at (they all show the same data, just different formats): http://public-files.askwar.s3.amazonaws.com/gnuplot-bezier-hole/rpl.svg http://public-files.askwar.s3.amazonaws.com/gnuplot-bezier-hole/rpl.png http://public-files.askwar.s3.amazonaws.com/gnuplot-bezier-hole/rpl.svg.png On http://public-files.askwar.s3.amazonaws.com/gnuplot-bezier-hole/rpl.gnuplot you can find the complete gnuplot file and there's also the CSV datafile at http://public-files.askwar.s3.amazonaws.com/gnuplot-bezier-hole/rpl.csv The "hole" that I'm talking about is shown for the red curve (the 1st curve) at about 05.02.09 04:00 and ends at about 14:00. But as you can see in the datafile and also in the "curves" using dots or lines, there ARE datapoints available during that timeframe. It, however, might be so, that indeed there are some tiny holes in the CSV file. But it's BY FAR not as big a hole as the smooth bezier curve makes it look like. What is causing these holes in the display? Thanks a lot, Alexander -- [ Soc. => http://twitter.com/alexs77 | http://www.plurk.com/alexs77 ] [ Mehr => http://zyb.com/alexws77 ] [ Chat => Jabber: ale...@ja... | Google Talk: a....@gm... ] [ Mehr => MSN: ale...@li... | Yahoo!: askwar | ICQ: 350677419 ] |