[Maxima] Plot options foo=bar vs [foo, bar]
Jaime E. Villate
villate at gnu.org
Tue Jun 13 03:46:47 CDT 2006
On Tue, 2006-06-13 at 07:32 +0200, van Nek wrote:
> Question: Did you already think about having plot options, especially
> the gnuplot_preamble,
> as global variables in top level? That would make plot commands much
> easier and shorter.
>
> gnuplot_preamble:"set what you want"$
> plot2d( f(x), x in range(a,b) )$
>
> That would be nice.
Do you mean defining an independent variable for each option instead of
the current plot_options list?:
(%i5) set_plot_option([gnuplot_preamble,"set grid; set size ratio -1"])$
(%i6) plot2d(sin(x), [x,0,7])$
Jaime
More information about the Maxima
mailing list