Subject: discrete plot doesn't honor x and y ranges?
From: Mario
Date: Wed, 16 Nov 2005 14:54:13 +0100
El Miércoles, 16 de Noviembre de 2005 13:15, Jaime E. Villate escribió:
> .................
> You can also use graph2d (http://fisica.fe.up.pt/maxima/graph2d/)
>
> exes:[0,1,2,3,4,5,6,7];
> ys:[10,5,6,9,33,7,4,1];
> graph2d(exes,ys,[xradius,5],[yradius,5],[xcenter,5],[ycenter,5]);
In addition to Jaime's openplot solution, it's also possible to use gnuplot:
/* Joined points in specified x and y ranges */
plot2d([discrete,exes,ys],
[gnuplot_preamble,["set xrange [0.0:10.0];set yrange [0.0:10.0]"]])$
/* Isolated points in specified x and y ranges */
plot2d([discrete,exes,ys],
[gnuplot_curve_styles,["with points pointsize 4"]],
[gnuplot_preamble,["set xrange [0.0:10.0];set yrange [0.0:10.0]"]])$
Hope this helps. Mario
--
--------------------------
Mario Rodriguez Riotorto
www.biomates.net