On Sun, 12 Sep 2010 18:39:02 +0200
Mario Rodriguez <biomates at telefonica.net> wrote:
> 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)) $
>
This package look interesting, but is there a clear documentation on
it? The only one I have been able to found is
http://www.telefonica.net/web2/biomates/maxima/gpdraw/
There are examples but no real description of the commands. By
the way, reading the gnuplot manual I have been able to achieve (some
part) of what I want.
Olive