Jae-Joon Lee wrote:
...
def Tc(Tf): return (5./9.)*(Tf-32)
ax1 = subplot(111) # y-axis in F
ax2 = twinx() # y-axis in C
def update_ax2(ax1):
y1, y2 = ax1.get_ylim()
ax2.set_ylim(Tc(y1), Tc(y2))
# automatically update ylim of ax2 when ylim of ax1 changes.
On Fri, Jun 5, 2009 at 11:39 PM, Tony S Yuton...@mit.edu wrote:
Are there guidelines for what makes a good example to be included with the
matplotlib examples?
I have a matplotlib snippet I'd like to post somewhere, but I'm not sure
where to put it. I doubt it'd be useful enough to be
ok. My bad! Sorry.
I have changed the default to %1.4g so that is matches my usecases *but* I
agree that correct way to improve it in not that trivial...
You can control the point at which mpl falls over to scientific
notation. From the matplotlibrc file (see
On Jun 6, 2009, at 9:34 AM, John Hunter wrote:
I'm happy to post this example in the examples dir, where it will
automatically get picked up in the website gallery and examples dir.
That'd be great!
The scipy cookbook is fine too, but I would prefer that a little mini
tutorial be written in
Hello,
I would like to draw a rectangle and then to cut a disc wich is in the
rectangle.
Is it possible ?
Christophe
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the
Xavier Gnata wrote:
ok. My bad! Sorry.
I have changed the default to %1.4g so that is matches my usecases
*but* I
agree that correct way to improve it in not that trivial...
You can control the point at which mpl falls over to scientific
notation. From the matplotlibrc file (see
Eric Firing efir...@... writes:
I don't understand what your question has to do with the colorbar; but
in anything like pcolor, if you swap X and Y, then at the same time you
need to transpose Z.
Thanks,
that was my Problem i had to transpose my z. :-)
numpy.transpose(z)
Regards Markus
Hi All,
The User of my program should use a slider element which lets compute
x,y and z and then my colorbar should also be updated with the new
computed x,y, and z values.
How to do this ?
There is a set_colorbar() method, but i dont know how to use it.
I also found a set_axes() method.
Here
feldmaus wrote:
Hi All,
The User of my program should use a slider element which lets compute
x,y and z and then my colorbar should also be updated with the new
computed x,y, and z values.
How to do this ?
There is a set_colorbar() method, but i dont know how to use it.
I also found a
Eric Firing wrote:
Xavier Gnata wrote:
ok. My bad! Sorry.
I have changed the default to %1.4g so that is matches my usecases
*but* I
agree that correct way to improve it in not that trivial...
You can control the point at which mpl falls over to scientific
notation. From the
Eric Firing efir...@... writes:
If x,y don't change, and if you are not using masked arrays, then you
might be able to add something like this:
self.plots3.set_array(np.transpose(z).ravel())
self.plots3.autoscale()
self.figure.canvas.draw()
The colorbar
11 matches
Mail list logo