[Matplotlib-users] Updating quiver arrows in animation

2012-09-22 Thread reckoner
Hi, I have a plot that includes arrows drawn by the quiver command. I would like to create animation using Func Animation, but I don't know how to update the quiver arrows. I can update everything else on the plot and animates fine. Does anybody know how to update the quiver arrows in an

[Matplotlib-users] Plot on top of tiled of calendar months

2012-08-18 Thread reckoner
Hi, I would like to plot on a monthly calendar for many months going back several years. This corresponds to the month view on a calendar (like in google calendar) as shown here: http://www.timeanddate.com/calendar/monthly.html Thus, I would like to have a tiled graph where every tile on

[Matplotlib-users] Polygon contains_point() different from matplotlib.nxutils.points_inside_poly?

2012-02-13 Thread reckoner
I'm trying to test whether or not the origin is contained inside the following triangle inscribed inside a circle: th = array([ 2.3913423, 5.3133123, 1.8516171]) p=patch.Polygon(array([cos(th),sin(th)]).T) p.contains_point((0,0)) returns 0 but,

Re: [Matplotlib-users] Polygon contains_point() different from matplotlib.nxutils.points_inside_poly?

2012-02-13 Thread reckoner
Here's a better example: th= array([ 4.65542641, 5.32920696, 2.20928291]) p=patch.Polygon(array([cos(th),sin(th)]).T) print p.contains_point((0,0)) 1 print matplotlib.nxutils.pnpoly(0,0,p.get_path().vertices) 0 Thanks! On 2/13/2012 8:47 AM, reckoner wrote: I'm trying to test whether

[Matplotlib-users] Creating frames for use with ArtistAnimation?

2012-02-11 Thread reckoner
Hi, I am creating a big and complicated plot by doing things like: ax.add_patch( ... ) and when I'm done I want to save the resulting frame. However, I've looked through the examples and it seems like you have to use plot() or pcolor() to create frames that you can feed into ArtistAnimation.

[Matplotlib-users] beginner examples using matplotlib.transforms?

2012-01-23 Thread reckoner
Hi, I am trying to create a sequence of rotated rectangles of various sizes/orientations. I have been looking at the following page: http://matplotlib.sourceforge.net/devel/transformations.html But I can't find any examples of how to use these transformations and then show the resulting

[Matplotlib-users] how to build tag (or word) cloud?

2012-01-11 Thread Reckoner
I've looked through the gallery, but I haven't found an example of a tag cloud. Can one be built using matplotlib? For clarity, something like this is what I'm referring to: http://upload.wikimedia.org/wikipedia/en/thumb/a/a5/TagCloudCloud.png/800px-TagCloudCloud.png Thanks!

[Matplotlib-users] pcolor shading=interp change interpolation method?

2010-05-17 Thread Reckoner
Hi, Using the following pcolor(x,y,z,shading='interp') is it possible to change the interpolation method used? I noticed that there are set_interpolation methods for images created using In [83]: h = imshow( z) In [84]: h.set_interpolation? Type: instancemethod Base Class: type

Re: [Matplotlib-users] Basemap: What is the angular domain for coordinates?

2010-05-14 Thread reckoner
! On 5/13/2010 4:20 PM, Jeff Whitaker wrote: On 5/13/10 3:22 PM, Reckoner wrote: How do I know if the angular domain for a map is Longitude \in {0,360} or Longitude \in {-180,180}? Or, for that matter, Latitude \in {-90,90} as opposed to: Latitude \in {0,180} Thanks! You can

[Matplotlib-users] Basemap: What is the angular domain for coordinates?

2010-05-13 Thread Reckoner
How do I know if the angular domain for a map is Longitude \in {0,360} or Longitude \in {-180,180}? Or, for that matter, Latitude \in {-90,90} as opposed to: Latitude \in {0,180} Thanks! --

[Matplotlib-users] matplotlib to draw streamlines?

2010-03-23 Thread Reckoner
Is it possible to draw a streamlines plot as shown in the following: http://www.pyngl.ucar.edu/Examples/Images/ngl04p.0.png using matplotlib or basemap? Thanks in advance! -- Download Intel#174; Parallel Studio Eval

Re: [Matplotlib-users] axes3d material in matplotlib-0.99.0.win32-py2.5 missing?

2009-09-18 Thread Reckoner
if you're asking me, I don't have write access to this website. Thanks again. On Fri, Sep 18, 2009 at 4:45 AM, John Hunter jdh2...@gmail.com wrote: On Thu, Sep 17, 2009 at 8:34 PM, Reckoner recko...@gmail.com wrote: thanks. does this mean that http://www.scipy.org/Cookbook/Matplotlib/mplot3D

[Matplotlib-users] axes3d material in matplotlib-0.99.0.win32-py2.5 missing?

2009-09-17 Thread Reckoner
unless I'm misunderstanding something, the website says that matplotlib-0.99.0.win32-py2.5 should contain the axes3d material. It doesn't. Instead, it axes3d.py contains the following: raise NotImplementedError('axes3d is not supported in matplotlib-0.98. You may want to try the 0.91.x

Re: [Matplotlib-users] axes3d material in matplotlib-0.99.0.win32-py2.5 missing?

2009-09-17 Thread Reckoner
thanks. does this mean that http://www.scipy.org/Cookbook/Matplotlib/mplot3D is out of date? thanks On Thu, Sep 17, 2009 at 6:22 PM, John Hunter jdh2...@gmail.com wrote: On Thu, Sep 17, 2009 at 6:46 PM, Reckoner recko...@gmail.com wrote: unless I'm misunderstanding something, the website

[Matplotlib-users] windows installer missing from sourceforge; where to get previous versions?

2009-06-10 Thread reckoner
hi, The Windows installer binaries have been missing from sourceforge for awhile now. I understand there are problems with the latest version for windows. Where can I get the previous versions that have working Windows installer binaries? Thanks in advance.

[Matplotlib-users] legend for bar charts?

2008-02-07 Thread Reckoner
is it possible to use matplotlib's legend() for a bar chart? I am plotting a number of bars with different colors on the same axes and I would like to label each color. legend () seems to want to label every single bar on my bar chart. Thanks in advance.