Hi all,
I'm using recently changed numpy features, so I have not been able to
use matplotlib in a while, hoping for a release compatible with numpy
1.0beta.
I guess I could also install Numeric and use that for matplotlib in the
meantime, as a workaround. But from posts on the devel list it seems
Hi,I have come across a couple of bugs when zooming into a plot1) if you goto draw a box (to where you are going to zoom) it will zoom in finebut if while drawing the box you release the mouse button BUT continue to move the mouse the zoom does not function (when mouse stops) and a black box is dra
array.tolist() can be used as a temporary workaround.i.e. tack .tolist() onto the end of any numpy.array arguments to matplotlib functions.--bbOn 8/22/06,
Sven Schreiber <[EMAIL PROTECTED]> wrote:
Hi all,I'm using recently changed numpy features, so I have not been able touse matplotlib in a whil
> The colors come from the current colormap. You can go all out and
> make your own colormap and color based on index using your map. I
> don't know how to do that off the top of my head though.
The colors may come from the colormap, but how do they get assigned to
areas of the plot itself? T
Hi,I am tring to figure out how to use the c argument to the quiver2 function.I want to be able to color my arrows proportionally to their size. I have tried this and it doesn' t work as I imagined:
c = sqrt((array(u)-array(x))**2+(array(v)-array(y))**2)quiver2(x,y,u,v,c)the docstring on quiver2 is
Thanks, Eric
Ok,
I ran the image_masked.py and all went OK
BUT
if I change line 34 of image_masked.py:
im = imshow(Zm, interpolation='bilinear',
cmap=palette,
norm = colors.normalize(vmin = -1.0, vmax = 1.0, clip = False),
origin='lower', extent=[-3,3,-3,3])
to
im = contourf(Zm,cm
James Boyle writes:
> Thanks, Eric
>
> to
>
> im = contourf(Zm,cmap=palette)
>
> I do not get the over/under pointers on the end of the colorbar.
>
> Does this feature not work with contourf - Or am I doing something
> wrong.
Here's a code segment that works for me:
vmin,vmax=(
I was a little suprised to learn that
axes.toggle_log_lineary()
overwrites user-supplied tick locators and formatters. My naive
assumption was that it would "toggle" only the semilog property
and leave other attributes unchanged. Perhaps this could be
mentioned in the docstring?
regards, Phil
Phil, Jim,
Thanks. I need to add a suitable example for the contourf case, because
as you have discovered it is a little different from all the other
mappable cases: colorbar takes its cue from the contourf arguments so as
to be consistent with the way the contourf plot was made. There is a
Flavio Coelho wrote:
> Hi,
>
> I am tring to figure out how to use the c argument to the quiver2 function.
>
> I want to be able to color my arrows proportionally to their size.
>
> I have tried this and it doesn' t work as I imagined:
>
> c = sqrt((array(u)-array(x))**2+(array(v)-array(y))**2)
Thanks Eric,in fact it depends on if x,y are 0 or not. But I got it to work it now. thanks,FlávioOn 8/22/06, Eric Firing <
[EMAIL PROTECTED]> wrote:Flavio Coelho wrote:> Hi,>> I am tring to figure out how to use the c argument to the quiver2 function.
>> I want to be able to color my arrows proport
Flavio,
One more point: please do not use quiver2 directly. Instead, use
quiver, which will call quiver2 unless it finds a keyword argument that
exists only in the old version of quiver. The name quiver2 is used only
temporarily to provide this compatibility, which will be removed in a
futur
Briefly, is there a way to get a callback in the event that the
canvas has been redrawn (e.g. from a zoom or pan)?
matplotlib 0.86.2
python 2.4.1
wxPython 2.6.2.1
Mac OS X.4.7
I draw a circle at a certain point. I let the user drag that point to
a new location. However, if the plot is redraw
First, sorry for the long email.
I'm having a segmentation fault problem trying to use plot_date,
somewhere deep in matplotlib. After giving up trying to figure out what
was going wrong from within my "real" code, I wrote a "minimal" sample
to try to reproduce (or not) the problem; here it is:
[Again copying to matplotlib-users; maybe the main developers can
comment on whether these shortcomings in the getp/setp interface
should be fixed.]
Hi Derek,
> It does seem as those these settings affect the top and bottom of
> the graph - I was wondering if it was possible to show tickmar
15 matches
Mail list logo