Hi,
I'm short in time (as I'm currently moving), so I havn't tried to run
your code. But the solution should be to pass a painter in your axes
with titledirection being None.
(I do know that we might want different defaults depending on the
graph type and I have an general idea how to improve the situation,
but for the moment you have to live with what's out there ... :-) )
André
Am 28.11.2007 um 15:56 schrieb James McDermott:
> Hi list,
>
> When I add titles to axes in graphxyz the titles come out slanted. Is
> this the intended behaviour? Do I just require a clever transformation
> to put them right?
>
> This is a small modification of PyX-0.10/examples/3dgraphs/surface.py:
> it requires the data file in that directory and demonstrates the
> problem:
>
> #!/usr/bin/env python
> from pyx import *
>
> xaxis = graph.axis.linear(title="This is the x axis")
> yaxis = graph.axis.linear(title="This is the y axis")
> g = graph.graphxyz(size=4, x=xaxis, y=yaxis, x2=None, y2=None)
> g.plot(graph.data.file("surface.dat", x=1, y=2, z=3),
> [graph.style.surface()])
> g.dodata()
> g.writeEPSfile("surface")
>
>
>
> James
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell. From the desktop to the data center, Linux is going
> mainstream. Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> PyX-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyx-user
>
--
by _ _ _ Dr. André Wobst, Am Fohlenhof 5, 82256
Fürstenfeldbruck
/ \ \ / ) [EMAIL PROTECTED], http://www.wobsta.de/
/ _ \ \/\/ / PyX - High quality PostScript and PDF figures
(_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user