on plot2d_ps



On 9/12/05, ma yf  wrote:

> In Maxima Documentation, there is that plot2d_ps writes to pstream
> a sequence of postscript commands which plot EXPR for RANGE,
> but how can I get the psstream?

plot2d_ps is quite primitive. if what you want is a plot in postscript
format, a much better alternative is to use the default gnuplot
plotting package, and set options to cause the output to go to
a postscript file. 

example:
plot2d (sin(x), [x, 0, 2*%pi], [gnuplot_term, ps], [gnuplot_out_file,
"sin.eps"])$

see plot2d and plot_options under "Plotting" at:
http://maxima.sf.net/docs/manual/en/maxima.html

hope this helps,
robert dodier