|
From: John H. <jdh...@ac...> - 2004-11-29 14:57:25
|
>>>>> "Jos=E9" =3D=3D Jos=E9 Alexandre Nalon <na...@te...> writes:
Jos=E9> Greetings! In a figure I'm generating, I need to plot a
Jos=E9> function rotated 90 degrees counter-clockwise, so that
Jos=E9> x-axis is vertical, and y-axis is horizontal (increasing
Jos=E9> from right to left). I searched the documentation and the
Jos=E9> examples and couldn't find how (what I tried didn't
Jos=E9> work). Probably there is a simple way to do that, if
Jos=E9> somebody can point that out, I would really appreciate. :)
Perhaps you can be a little more specific about what you want to do.
For a "plot", all you need to do is reverse the x and y arguments
and place your xlabel and ylabel accordingly. =20
plot(y, x)
I could probably give you more help if you describe what you need in
addition this.
For a bar chart, use barh.
For printing, some backends (eg postscript) support landscape mode
savefig(fname, orientation=3D'landscape'):
JDH
|