Jos?> Greetings! In a figure I'm generating, I need to plot a
Jos?> function rotated 90 degrees counter-clockwise, so that
Jos?> x-axis is vertical, and y-axis is horizontal (increasing
Jos?> from right to left). I searched the documentation and the
Jos?> examples and couldn't find how (what I tried didn't
Jos?> work). Probably there is a simple way to do that, if
Jos?> 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.
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='landscape'):
JDH