El s?b, 11-09-2010 a las 23:15 +0200, Olive escribi?:
> I use maxima to plot a function, mainly with plot2d. How do I control
> the numbers that get printed on the bounding boxes? I do not mean the
> range but how many numbers get printed on the axes. Also, is it possible
> to put custom numbers on the axes, like $\pi$ for example (such numbers
> would be useful to illustrate trigonometric functions).
>
> Olive
>
Hello,
You have to write some Gnuplot code in the gnuplot_preamble option.
If you want to test package draw, type
? xtics
for info and examples.
If you want greek letters, you need the eps terminal:
load(draw) $
draw2d(
terminal = eps,
xtics = {
["0",0],
["{/Symbol p / 2}",%pi/2],
["{/Symbol p}",%pi],
["3 {/Symbol p} / 4",3*%pi/2],
["2 {/Symbol p}",2*%pi]},
explicit(sin(x),x,0,2*%pi)) $
--
Mario