|
From: <as...@ca...> - 2007-06-07 14:38:08
|
Hi! On 6/7/07, Joel Swanson <jsw...@wp...> wrote: > plot [-3:3] (1/3)**x > Remember that in gnuplot it is not the same 1 as 1. : 1 is an integer number and 1. is a float. So 1/3 =3D 0: gnuplot> print 1/3 0 gnuplot> print 1./3 0.333333333333333 gnuplot> print 1./3. 0.333333333333333 try with gnuplot> plot [-3:3] (1./3.)**x Bye! > I think this should give me a nice curve starting at (-3,27), passing > through (0,1) and ending at (3,1/27), but it doesn't. It gives me a > horizontal line (0,0) to (3,0) and a warning that I have an empty y > range. Any help would be appreciated. > > Joel Swanson > > E-mail correspondence to and from this address may be subject to the > North Carolina Public Records Law and may be disclosed to third parties > by an authorized state official. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > --=20 --------------------------------------------- Mg. Hern=E1n Gonzalo Asorey Instituto Balseiro - CAB (8400) San Carlos de Bariloche R=EDo Negro - Rep. Argentina --------------------------------------------- cabtep5.cnea.gov.ar/~asoreyh/ |