From: Thomas S. <t.s...@fz...> - 2010-06-22 09:54:59
|
due to integer division 5/10 is zero: 10*log10(10**(5/10))= 10*log10(10**0)= 10*log10(1)= 10*0.0= 0.0 5./10 gives the right result. Mark Pelusi wrote: > > Version 4.2 patchlevel 6 has two bugs > > 1) Logarithmic calculation error > > p 10*log10(10**(5/10)) w l > incorrectly returns value of 0, while > p 10*log10(10**(5)) w l > correctly returns value of -50. > > 2) when copying a gnuplot graph to the clipboard and pasting it to MS > Powerpoint, if the data set was drawn using linespoints style, then the > points are distorted appear as horizontal lines spread across the entire > graph in the exported graph. > > Regards, > > Mark. > > > > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-bugs mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-bugs > > -- View this message in context: http://old.nabble.com/-Gnuplot-bugs--logarithimic-calculation-error%2C-and-linespoints-clipboard--copying-error-tp28944011p28958161.html Sent from the Gnuplot - Bugs mailing list archive at Nabble.com. |