From: Matthew B. <ma...@ma...> - 2006-11-13 20:28:00
|
Thanks, you would think being a programmer i would have noticed that. Bastian M=E4rkisch wrote: >> I am pretty (3 sigma) sure i found a bug w/ both the 4.2RC1 and 4.0 gn= uplot. >=20 > It's not a bug, it's a feature: =20 > Gnuplot interprets (1/2) as an integer expression. Therefore (1/2) equa= ls 0. > See ` help expressions` for further information.=20 >=20 > Bastian >=20 >> It seems to ignore the variation in y when i do this plot (sin too).=20 >> However, if i just plot cos(x/2) it works right. Is there something th= at=20 >> i am doing wrong here(is gnuplot making an assumption of something not= =20 >> obvious)?? This should look like a surface of the 1D plot. >> >> >> gnuplot> set yran [-pi:pi] >> gnuplot> set xran [0:1] >> gnuplot> spl cos(y*(1/2)) >> Warning: empty z range [1:1], adjusting to [0.99:1.01] >> >> Thanks >> matt >=20 >=20 > -----------------------------------------------------------------------= - >=20 > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > gnuplot-bugs mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-bugs |