Re: [Matplotlib-users] pylab

2009-08-11 Thread Sebastian Haase
Thanks for the info -- very informative -- maybe this post could be somehow added or linked to from http://www.scipy.org/PyLab -- Sebastian Haase On Tue, Aug 11, 2009 at 4:22 AM, Eric Firing wrote: > marc desmarais wrote: >> Are there still two pylabs?  Are the following two web pages referring

Re: [Matplotlib-users] pylab

2009-08-11 Thread Tom K.
Sebastian Haase-3 wrote: > > Thanks for the info -- very informative -- maybe this post could be > somehow added or linked to from http://www.scipy.org/PyLab > > -- Sebastian Haase > Sebastian - I've done as you suggest... I added a link to this post on nabble - do you think there is a better

[Matplotlib-users] re grid non regular data, then mask for continents / artifacts

2009-08-11 Thread John [H2O]
Hello, I have a dataset that is provided with 0.5degree latitude information, but 1,2, or 10 degree longitude. I have used the matplotlib.mlab.griddata function with natgrid installed to resample the dataset to a uniform 0.5x0.5 degree grid. The dataset locations can be seen below, note the reg

[Matplotlib-users] updatable time-series plot

2009-08-11 Thread Alan G Isaac
For animated line plots, I found the Cookbook very helpful: http://www.scipy.org/Cookbook/Matplotlib/Animations#head-3d51654b8306b1585664e7fe060a60fc76e5aa08> I'm a novice with GUI stuff, but with that background, I tried the following. I wanted a graph where data points were added as they become

[Matplotlib-users] Format 3D tick labels wxagg backend

2009-08-11 Thread dek
Hello, Has anyone formatted 3D major tick labels in wxagg backend successfully or can tell me what my problem might be: majorFormatter = matplotlib.ticker.FormatStrFormatter('%g') axes.w_xaxis.set_major_formatter(majorFormatter) axes.w_yaxis.set_major_formatter(majorFormatter) axes.w_zaxis.set_ma

Re: [Matplotlib-users] pylab

2009-08-11 Thread John [H2O]
Just an thought regarding the whole PyLab concept... >>> import this The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. [snip]... If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good i

Re: [Matplotlib-users] building matplotlib from source in Linux

2009-08-11 Thread John [H2O]
Have you tried to change your default backend? Say GTKAgg? You can set it in matplotlibrc file. Just a thought. jbattat wrote: > > Hi, > > I'm installing matplotlib from source on a linux machine (system > details below). The module builds and installs without error. I can > import pyla

Re: [Matplotlib-users] pylab

2009-08-11 Thread John Hunter
On Tue, Aug 11, 2009 at 12:28 PM, John [H2O] wrote: > > Just an thought regarding the whole PyLab concept... If you would like to frame this as a FAQ "Should I import * from pylab?" and post it as a rest svn diff against doc/faq/howto_faq.rst, I would be happy to include this on the website http:

Re: [Matplotlib-users] building matplotlib from source in Linux

2009-08-11 Thread John Hunter
On Mon, Aug 10, 2009 at 1:09 PM, James Battat wrote: > I'm installing matplotlib from source on a linux machine (system > details below).  The module builds and installs without error.  I can > import pylab successfully from an interactive python prompt.  When I > plot data, however, pylab.show() b

[Matplotlib-users] Graph title trepassing bounds

2009-08-11 Thread Gewton Jhames
Hello everyone, my graph's title is been greater than the size of the graph. There's a way to get the width of the graph's title so I can increase the width of the graph based on it? Thanks. -- Let Crystal Reports handle th

Re: [Matplotlib-users] Graph title trepassing bounds

2009-08-11 Thread John Hunter
On Tue, Aug 11, 2009 at 2:21 PM, Gewton Jhames wrote: > Hello everyone, > my graph's title is been greater than the size of the graph. > There's a way to get the width of the graph's title so I can increase the > width of the graph based on it? There probably is a way, but it might be easier to us

Re: [Matplotlib-users] re grid non regular data, then mask for continents / artifacts

2009-08-11 Thread John [H2O]
Impatiently I somewhat double posted (though, actually, I thought this was a better list than scipy for the question). Regardless... the conversation is mostly here: http://www.nabble.com/2d-interpolation%2C-non-regular-lat-lon-grid-td24909685.html -- View this message in context: http://www.n

[Matplotlib-users] Building matplotlib on os x

2009-08-11 Thread Michael Hearne
Hello - I am attempting to build matplotlib from source on os X, and getting an error about a shared library being the wrong architecture. The confusing thing is that the call to g++ has two settings for arch: "g++ -arch i386 -arch ppc..." The error I get is: "ld: in /Developer/SDKs/MacOSX10

matplotlib-users@lists.sourceforge.net

2009-08-11 Thread Jeff Whitaker
P.R. wrote: > Hi, > I just updated to the latest versions of mpl & basemap. > Im getting strange output when using the quiver function from basemap (see > attached image). > > I ran the quiver_demo scripts for both basemap & also mpl, and the output > looked normal. > > Im using pygrads, a python i

matplotlib-users@lists.sourceforge.net

2009-08-11 Thread P.R.
Ok, I upgraded to numpy 1.30 and the problem still showed up... Im still getting those strange diagonal line defects. (looks as if some of the edge arrow polygons are being clipped/drawn/closed improperly & thus 'dragged' across the plot area???) I attached my x,y,u,v arrays... Here's my basemap

matplotlib-users@lists.sourceforge.net

2009-08-11 Thread Jeff Whitaker
P.R. wrote: > Ok, I upgraded to numpy 1.30 and the problem still showed up... > Im still getting those strange diagonal line defects. > (looks as if some of the edge arrow polygons are being clipped/drawn/closed > improperly & thus 'dragged' across the plot area???) > > I attached my x,y,u,v arrays

matplotlib-users@lists.sourceforge.net

2009-08-11 Thread P.R.
Jeff, Nevermind... I figured out the problem... It appears that the grads mpl interface (pygrads) wasn't creating an appropriate mask for the data. All of the '-9.99e+8' values that correspond to 'undefined' points weren't being masked out, and were thus causing quiver to freak out & try to draw s