[SciPy-user] plotting with gplt
Johann Rohwer
jr at sun.ac.za
Wed Oct 5 06:03:36 EDT 2005
On Wednesday, 5 October 2005 11:45, Daniel R. Rohr wrote:
> I'm trying to plot some of my data. e.g. like this
>
> >>> import scipy
> >>> a = [0,1,2,3]
> >>> b = [[0,1,2,3],[1,2,3,4],[2,3,4,5]]
> >>> scipy.gplt.plot(a,scipy.transpose(b))
>
> Then I get three lines in different colors. Now I'd like to name
> these graphs and maybe change the colors. Also I'd like to change
> the range of the x- and y-axis. Basically I'd like to use all the
> features of gnuplot with this python interface.
> I couldn't find a documentation on this and looking in the source
> code didn't help me at all.
Try the Scipy plotting tutorial:
http://www.scipy.org/documentation/plottutorial.html
Regards
Johann
More information about the SciPy-User
mailing list