Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Hi everyone, thanks for PyX, amazingly powerful!
One thing is missing in my graphs, greek characters. I need to put greek "m=
in my axis titles, but I have no idea on how to proceed. In addition, I
would like to be able to select different fonts and to adjust the size of
the fonts as well. How can I perform these tasks?
From: Andre Wobst <wobsta@us...> - 2006-02-06 15:43:08
On 03.02.06, Carl Bolduc wrote:
> One thing is missing in my graphs, greek characters. I need to put greek "m"
> in my axis titles, but I have no idea on how to proceed.
You can use TeX syntax in your text. See the example "mandel" for an
> In addition, I
> would like to be able to select different fonts and to adjust the size of
> the fonts as well. How can I perform these tasks?
There is a separate scale for font sizes called xscale which is quite
easy to manipulate (i.e. state something like "unit.set(xscale=2)" at
the beginning of your document). Beside that you can use all kind of
TeX/LaTeX font functionality as long as the fonts are available as
Type1 fonts. See the FAQ (especially 6.4.1) for an example.
by _ _ _ Dr. André Wobst
/ \ \ / ) wobsta@..., http://www.wobsta.de/
/ _ \ \/\/ / PyX - High quality PostScript and PDF figures
(_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/