Hello,
When I plot graph with values 10^5 and more at y axis, the labels are
too long and run out of the picture borders. So I get "60" instead
of "160" at y axis or something like this. Tried to use
majorFormatter = ticker.FormatStrFormatter('%e')
ax.yaxis.set_major_formatter(major
Suppose I have two functions returning axes:
def f1():
f = plt.figure()
ax = f.add_axes(111)
ax.plot()
ax.lengend()
return ax
def f2():
similar to f1
now I have a figure
main_fig = plt.fig()
I want to merge axes from f1 and f2 in a unique axes (withou splitting
On 10/20/2010 11:41 PM, Alexander Dietz wrote:
> Hi,
>
> I am generating a scatter plot with a colorbar, and want to pass on the
> colorbar to some function to do something with it, like
>
> plt.scatter(px, py, c=pz, ...)
> cb = plt.colorbar()
> foo(cb)
>
>
> My question: How can I extract the rang
Dear All,
Please consider the snippet at the end of the email.
Admittedly, I am still quite cumbersome with the matplotlib pipeline (I
am a bit unsure about how to manipulate objects and their properties).
The snippet below produces two plots. I have some questions
(1) for both plots: how do I add
2010/10/21 Stefan Mauerberger :
> My goal is to draw a grid with labels above the data. Similar to the
> example 'demo curvelinear grid'.
Ok, I think I cannot give you an authoritative response here, but the
following might be useful for the labels:
http://matplotlib.sourceforge.net/api/axes_api.
Hi everybody,
I have been using the plot_surface function to create excellent 3d surface
plots. However, the colour scales with the z axis, and I cannot find any way
to change this. Specifically, I am interested in making the colour change
with distance from the origin - in other words, so that i
Hi Bala,
Strange that yum did not updated, Fedora does has the latest version packaged:
http://koji.fedoraproject.org/koji/packageinfo?packageID=3607
Maybe you can try to force the installation of the latest rpm by
downloading it and installing it with yum.
Friends,
I am using mpl in fedora10. I installed mpl (version 0.98.5.2) with yum
previously. Since yum does not upgrade to latest mpl version, i have
downloaded the tarball to install from the source. Now i want to install mpl
in the same location as previously done by yum (info. given below).
1)
Hi,
I am generating a scatter plot with a colorbar, and want to pass on the
colorbar to some function to do something with it, like
plt.scatter(px, py, c=pz, ...)
cb = plt.colorbar()
foo(cb)
My question: How can I extract the range of the colorbar from the cb object?
The colorbar extends from m
Hi Frederick,
thanks for your answer. The option *faceted* I already knew but this is
not exactly what I want. Perhaps it would be possible to draw the grid
without labels.
My goal is to draw a grid with labels above the data. Similar to the
example 'demo curvelinear grid'.
Regards
Stefan
10 matches
Mail list logo