default plot to file settings



On 03/21/2013 09:07 AM, jiun bookworm wrote:
> I was going through the docs looking for a way to instruct maxima to 
> always plot to file as a rule, is this possible to configure?
> how does the plotting system work? is there some configuration that i 
> can place in the runtime environment  (|maxima-init.mac|) to achieve 
> my objective? 

You can put something similar to the following in your maxima-init.mac

set_plot_option ([gnuplot_term,ps]$
set_plot_option ([gnuplot_out_file,"myplot.ps"])$

And every time you create a plot with plot2d or plot3d, it will be saved 
in a file myplot.ps in PostScript format.

Regards,
Jaime