Quote:
Originally Posted by AlexBB
I need to figure out how to draw Greek letters and the sign of Integral and a sign of summation.
|
You don't need to use
maxima necessarily, the example you reference is making use of the 'enhanced' mode of the
gnuplot output terminal, which uses postscript codes.
For example, the following has a Greek title (tested on version 4.6). Note that some output terminal types may not have an enhanced mode.
Code:
gnuplot
set term x11 enhanced
plot sin(x) title "{/Symbol aqhna}"
If you do particularly want to use
maxima, you may need to pass this option through explicitly (at least in the version 5.34 I tested).
Code:
maxima
plot2d(sin(x), [x,-10,10], [title,"{/Symbol aqhna}"], [gnuplot_preamble,"set term x11 enhanced"])$
You can of course output to a postscript file directly. The following creates an eps file.
Code:
echo 'plot2d(sin(x), [x,-10,10], [title,"{/Symbol aqhna}"], [gnuplot_preamble,"set term eps enhanced"], [gnuplot_term, eps])$' | maxima
These postscript codes aren't the ideal way to format, but it might do you for simple integrals and summations:
Code:
{/Symbol \\362}@_{0}^{/Symbol \\245}
{/Symbol \\345}@_{0}^{n}
For anything more complicated, you might want to look at using latex output from
gnuplot.