Zane Selvans <[EMAIL PROTECTED]> writes:
>
> I'm plotting a bunch of lines on a map. They're being colored
> according to the value of an attribute associated with the objects
> they represent, using a colormap. However, I also need to create a
> colorbar to act as a legend, describing wh
On Wed, Oct 8, 2008 at 12:23 AM, Michael <[EMAIL PROTECTED]> wrote:
> loop through the data and call clf():
>
> from pylab import *
> from numpy import *
>
> ion()
> hold(False)
>
> frame1 = zeros((200, 200))
> frame1[20:40, 20:40] = 255
>
> frame2 = zeros((200, 200))
> frame2[20:40, 30:50] = 255
>
On Tue, Oct 7, 2008 at 8:10 AM, Alexander Borghgraef
<[EMAIL PROTECTED]> wrote:
> I'm trying to figure out how to do animated graphics in pylab using
> imshow, so I made this little 'hello world' equivalent showing a
> moving square over two frames.
> Problem is I have to call draw twice to refresh
On Thu, Oct 9, 2008 at 5:12 AM, Michael <[EMAIL PROTECTED]> wrote:
> I don't what is optimum, matplotlib has always been a bit hackish for
> animation i think
Calling cla or clf in the animation loop is probably always a bad
idea, because of the flashing you have noticed. Trying to use a simple
p
Zane Selvans wrote:
> Zane Selvans <[EMAIL PROTECTED]> writes:
>
>> I'm plotting a bunch of lines on a map. They're being colored
>> according to the value of an attribute associated with the objects
>> they represent, using a colormap. However, I also need to create a
>> colorbar to act a
On Thu, 2008-10-09 at 03:15 +,
[EMAIL PROTECTED] wrote:
> Message: 8
> Date: Wed, 08 Oct 2008 17:05:46 -0400
> From: Alan G Isaac <[EMAIL PROTECTED]>
> Subject: Re: [Matplotlib-users] Animation and imshow
> To: Matplotlib Users
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; char
Hello,
Is there an easy way to make a legend with multiple lines
and columns? I need 8 plots in the same figure, and the
legend takes a lot of space. I believe that if I could
orient the legend in multiple lines and columns (say, 2
lines with four columns each), I could save a lot of
space, giving
The current legend class does not support multiple columns.
Eric Wertman once mentioned in this list that he would work on this
feature, but I don't know the current status.
A (partial) rewrite of the legend class which I plan to support
multicolumns is in my TODO list but I haven't started it yet.
Hi Sebastien,
Sorry, I had forgotten about that. I've taken a look at the code that we have
... and it doesn't separate out nearly as much as I had thought. The code that
rebuilds the plots is actually pretty complicated and messy ... not so much
from a conceptual point of view but in how it
Hi,
I can do everything I want with pylab (and even more :) ).
I'm only missing one thing:
I really would like to have one more option in imshow to get the pixel
value of the pixel pointed by the cursor.
The backends are showing X qnd Y coordinates. It is fine but I need also
to look at the pix
Hello,
Em Thursday 09 October 2008 13:46:52 Jae-Joon Lee escreveu:
> Meanwhile, you may try to make multiple legends as a posible workarounds.
Thanks for your answer. That did the trick, and the figure
looks more or less as I wanted. It would look exactly as I
wanted if I could remove the border
Although I think it is possible to calculate the bounding box of the
all legends automatically,
Here is a manual way.
from matplotlib.patches import Rectangle
l1.get_frame().set_visible(False) # make background frame of legends invisible
l2.get_frame().set_visible(False)
# make a large backgrou
On Oct 9, 2008, at 7:08 AM, Ryan May wrote:
> Zane Selvans wrote:
>> Zane Selvans <[EMAIL PROTECTED]> writes:
>>
>>> I also need to create a
>>> colorbar to act as a legend, describing what the colors of the lines
>>> means, in terms of values associated with that attribute.
>>
>> I've found the
On Thu, Oct 9, 2008 at 2:40 PM, Zane Selvans <[EMAIL PROTECTED]> wrote:
> Hmm. I'll have a look at these. Jeff Whitaker suggested them for
> something else too. I too often feel like I'm just hacking my way
> around in Matplotlib, without understanding how it is actually
> "supposed" to be used
John Hunter wrote:
> On Thu, Oct 9, 2008 at 2:40 PM, Zane Selvans <[EMAIL PROTECTED]> wrote:
>
>
>> Hmm. I'll have a look at these. Jeff Whitaker suggested them for
>> something else too. I too often feel like I'm just hacking my way
>> around in Matplotlib, without understanding how it is act
Hi
Are there any modules in matplotlib for coordinate transformations. In
particular, I want to go from geodetic to WGS-84.
Thanks
Mathew
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build
Mathew Yeates wrote:
> Hi
> Are there any modules in matplotlib for coordinate transformations. In
> particular, I want to go from geodetic to WGS-84.
>
> Thanks
> Mathew
>
>
Mathew: The pyproj module is included in the basemap toolkit and can be
accessed with
from mpl_toolkits.basemap impor
Zane Selvans wrote:
> Zane Selvans <[EMAIL PROTECTED]> writes:
>
>> I'm plotting a bunch of lines on a map. They're being colored
>> according to the value of an attribute associated with the objects
>> they represent, using a colormap. However, I also need to create a
>> colorbar to act a
Mathew Yeates wrote:
> Hi Jeff
>
> I took a look and I'm still confused. Do you happen to have any code
> that goes Geodetic (lat,lon) to Geocentric (lat,lon)?
>
> Thanks
> Mathew
Mathew: No, and I must confess I don't even know what that means. You
might check the proj4 docs and/or mailing lis
19 matches
Mail list logo