Hi,
I'd like to generate a colormap index based on an array of levels & using an
existing colormap (Spectral).
However, Id like the cmap index to start at the 0.3 value of the Spectral
scale (orange/yellow area) instead of starting at the '0' scale value (red
area), and then continue until the 0.8
Nevermind,
I found the answer; quiver also accepts the cmap & norm args...
Sorry for the double post as well...email/outlook issues...
Thanks,
P.Romero
-Original Message-
From: P.R. [mailto:romero...@hotmail.com]
Sent: 2009-08-13 9:17 PM
To: matplotlib-users@lists.sourceforge.net
Subjec
Question:
If I have an array C with values for the arrow vectors' magnitudes, how can
I control the magnitude levels & colors that are assigned to the quiver
arrows?
I successfully managed to plot multi-colored arrows using the 'C' arg, but
I'd also like to control the levels & colors, and also pl
Question:
If I have an array C with values for the arrow vectors' magnitudes, how can
I control the magnitude levels & colors that are assigned to the quiver
arrows?
I successfully managed to plot multi-colored arrows using the 'C' arg, but
I'd also like to control the levels & colors, and also pl
G Jones wrote:
> Hello,
> Executing the following commands from ipython --pylab produces the error
> below:
>
> ax = subplot(111)
> ax.pcolorfast(randn(100,100))
> ax.set_xlim(2000,2001)
> draw()
>
> I ran into the error in a more complicated script, but this seems to be
> a simple example to r
I am currently using the annotate() method for my data points and I was
curious if there is a way to center a line of text relative to a line of
text below it. I am currently using two annotate() function calls in a row
(I need the text to be different colors) but I need the first one to act as
a
Hello,
Executing the following commands from ipython --pylab produces the error
below:
ax = subplot(111)
ax.pcolorfast(randn(100,100))
ax.set_xlim(2000,2001)
draw()
I ran into the error in a more complicated script, but this seems to be a
simple example to reproduce it.
I notice if I instead use:
Hi folks,
David Warde-Farley kindly set up a page to coordinate BoF attendance
at the conference, in case anyone on this list is interested. Details
below.
Cheers,
f
-- Forwarded message --
From: David Warde-Farley
Date: Thu, Aug 13, 2009 at 2:20 PM
Subject: [IPython-user] S
Jeff,
The docstring is clear.
My question was on how to actually create the lats&lons arrays
(sorry, Im not a very strong python programmer).
Could you please recommend a method for dividing a lat/lon array in half?
Again, I apologize for asking such a basic question...
Thanks,
P.R.
-Origi
P.R. wrote:
> Jeff,
> One more question:
> Given two arbitrary X&Y arrays, what's the easiest/fastest way to convert to
> a finer array ?
> (for example, convert a 0.5 degree 'X' or 'Y' array to a 0.25 array over the
> same bounds as the original array)
>
> - I need a method that can handle arbitra
Jeff,
One more question:
Given two arbitrary X&Y arrays, what's the easiest/fastest way to convert to
a finer array ?
(for example, convert a 0.5 degree 'X' or 'Y' array to a 0.25 array over the
same bounds as the original array)
- I need a method that can handle arbitrary grid sizes & resolutions
Jeff,
Perfect.
I'll give that a try...
Thanks again,
P.R.
-Original Message-
From: Jeff Whitaker [mailto:jsw...@fastmail.fm]
Sent: 2009-08-13 7:15 AM
To: Eric Firing
Cc: P.R.; matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] contourf interpolation/smoothness
Eric
Hi,
I have a piece of code which explicitly creates a 3 column array of red,
green, blue values which I have scaled. For example
RGB = np.array( [ 10, 100, 180 ] ) etc.
Anyway, I use "savefig" to ouput it to a png image. The problem is that the
PNG looks a lot darker than it should do, in fact if
Eric Firing wrote:
> P.R. wrote:
>
>> This has probably been asked before, so I apologize...
>>
>> Is it possible to improve the smoothness/interpolation used in contourf?
>> I know that the interpolation can be set for imshow(pcolor?), but I couldn't
>> see how to set it for contourf.
>>
>> Rig
14 matches
Mail list logo