Hi JJ,
thanks a lot for your help. I think that
http://matplotlib.sourceforge.net/examples/axes_grid/demo_curvelinear_grid.html
has everything I need, I'll try it out. The coordinates given by the mouse
are off, but that seems to be the case even for the far more elaborate
"custom scale/projectio
gt;%s->intensity"%map.name)
f.savefig("c:/temp/%s.png"%map.name)
-
By the way, the resulting plots show that all the colormaps except cm.prism
are bijective (even for example mc.flag):
http://www.nabble.com/file/p25891118/jet.png
http://www.nabble.com/file/p25891118/f
set_xticks() and ax.set_xticklabels(), but I was
wondering if there is a way that also changes the whole coordinate system
and not only the labeling. For example, the position of the mouse pointer
will not be shown anymore when I use custom ax.set_xticklabels().
Cheers
Thomas
efiring wrote:
>
Maybe a little shorter is the where() keyword, and even that can be omitted:
ax.plot(t[where(s>=0)],s[where(s>=0)],"g")
ax.plot(t[where(s<0)],s[where(s<0)],"r")
or, shorter:
ax.plot(t[s>=0],s[s>=0],"g")
ax.plot(t[s<0],s[s<0],"r")
cheers
Thomas
Xavier Gnata-2 wrote:
>
> Hi,
>
> Imagine yo
Hi,
following problem: Let's say I have a couple of .png images that were
produced with imshow() and the jet() (==default) colormap. The original data
was 8 bit intensity data, now the images are 24 bit with false colors /
pseudocolors.
Now, is there a (simple?) way to calculate back from those 2
Hello,
I have the following problem. I want the axes (only the y-axis, to be exact)
of a imshow() graph to be nonlinear. By default, the axis goes linearily
from 0 to (number of pixels). With the [extent] keyword, I can change that
to going linearly from (arbitrary start) to (arbitrary end). Now,