El dom, 04-06-2006 a las 01:26 +0200, webmaster Vivante escribi??:
>
>
> 1. How do I get a graph in Maxima Console and not in a separate
> graphical window?
>
> This line below to graph in a separate graphical window (%i1)
> plot2d (sin(x), [x, 0, 2*%pi]);
>
> The manual says: gnuplot_term - Sets the output terminal type
> for gnuplot.
> o Default value: default - Gnuplot output is displayed in a
> separate graphical window.
> o Value: dumb - Gnuplot output is displayed in the Maxima
> console by an "ASCII art" approximation to graphics.
>
> but this line (%i1) plot2d (sin(x), [x, 0, 2*%pi],
> [gnuplot_term, dumb ]); don't produce any result.
>
>
Palmira,
(%i1) plot2d (sin(x), [x, 0, 2*%pi],[gnuplot_term, dumb ]);
works as expected in my linux box.
> 2. After this (%i1) plot2d (sin(x), [x, 0, 2*%pi], [gnuplot_term, ps],
> [gnuplot_out_file, "sin.eps"]); With whom software can I trasform
> the eps file in jpeg o gif file?
>
To get an eps file:
(%i2) plot2d(sin(x), [x, 0, 2*%pi],
[gnuplot_preamble,
"set terminal postscript eps;set out 'myplot.eps'"])$
In png format:
(%i3) plot2d(sin(x), [x, 0, 2*%pi],
[gnuplot_preamble,
"set terminal png;set out 'myplot.png'"])$
There are lots of programs to make file conversions; for example, when I
want 'myplot' in pdf format I write in command line:
$ epstopdf myplot.eps
With Gimp, you can convert png to jpg and other bitmat formats.
Hope this helps
--
Mario Rodriguez Riotorto
www.biomates.net