Re: [Matplotlib-users] Cursor corruption with pyqt4 and a work-around.

2010-06-17 Thread sathish kumar
Thanks Mr.David, I too developing an application using PyQt and Matplotlib. Though I may not use cursor for my application, It will keeps me the aware of the things. With Thanks Sathishkumar On Fri, Jun 18, 2010 at 8:34 AM, David Smith wrote: > I have been developing an application using PyQt

[Matplotlib-users] Cursor corruption with pyqt4 and a work-around.

2010-06-17 Thread David Smith
I have been developing an application using PyQt ant Matplotlib and encountered a problem with the mouse cursor shape being incorrect.  I found a work-around that seems to work, but I think this is a bug and the fix needs to go into the Matplotlib code base. Here are details. My application has a

[Matplotlib-users] plotting dates and dtypes

2010-06-17 Thread Bill Eaton
I'm struggling to figure out how to format my data so that I can use dates as x-data. I've tried the pylab examples and they execute beautifully on my Windoze and Linux boxes. But when I try to plot data on my own, it doesn't work. Using api example date_demo.py as a starting point. This appear

Re: [Matplotlib-users] Placing images on figures

2010-06-17 Thread Eamon Caddigan
On Wed, Jun 16, 2010 at 4:06 PM, Malte Dik wrote: > Hi, > > Eamon Caddigan >> The reason my initial attempts failed was because I (erroneously) >> assumed that the default axis spanned (0, 0), (1, 1). Now I that I >> know better, I can place an axis for each image in the right place and >> everyt

Re: [Matplotlib-users] turning off tick marks

2010-06-17 Thread Eric Firing
On 06/17/2010 07:35 AM, Ryan May wrote: > On Thu, Jun 17, 2010 at 11:39 AM, Benjamin Root wrote: >> Try "ax.set_xticks([])", I think that works for 2D plots. > > Nope, labels disappear. > > Jeff, try this: > > ax.xaxis.set_ticks_position('none') > > Ryan > In [1]:plot([1,2]) Out[1]:[] In [2]:ax

Re: [Matplotlib-users] hist() and masked_array

2010-06-17 Thread Eric Firing
On 06/17/2010 05:52 AM, Ryan May wrote: > On Thu, Jun 17, 2010 at 10:52 AM, Andreas Hilboll wrote: >> Hi there, >> >> I just noticed today that when I call hist() on a masked_array, also those >> values which are masked out are displayed (with their fill_value). Is that >> really the desired behav

Re: [Matplotlib-users] turning off tick marks

2010-06-17 Thread Ryan May
On Thu, Jun 17, 2010 at 11:39 AM, Benjamin Root wrote: > Try "ax.set_xticks([])", I think that works for 2D plots. Nope, labels disappear. Jeff, try this: ax.xaxis.set_ticks_position('none') Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma --

[Matplotlib-users] How to make 3-D axes/grid more visible?

2010-06-17 Thread Jonathan Slavin
I've been using Axes3D to make plots and I like the output very much -- with the one exception being the faintness of the 3-D grid that is put in the background. The light gray used is quite difficult to see. Is there some way to specify the color of the grid and/or background? I'd be satisfied

Re: [Matplotlib-users] turning off tick marks

2010-06-17 Thread Benjamin Root
Try "ax.set_xticks([])", I think that works for 2D plots. Ben Root On Thu, Jun 17, 2010 at 11:22 AM, Jeff Perry wrote: > can someone tell me how to turn off the tick marks on my plot? > > i tried this > >[line.set_marker('None') for line in ax.get_xticklines()] > > but this turns off the la

[Matplotlib-users] turning off tick marks

2010-06-17 Thread Jeff Perry
can someone tell me how to turn off the tick marks on my plot? i tried this [line.set_marker('None') for line in ax.get_xticklines()] but this turns off the labels too.  i don't want to turn off the labels, just the tick marks. someone also suggested this ax.xaxis.set_major_locator(pyla

Re: [Matplotlib-users] hist() and masked_array

2010-06-17 Thread Ryan May
On Thu, Jun 17, 2010 at 10:52 AM, Andreas Hilboll wrote: > Hi there, > > I just noticed today that when I call hist() on a masked_array, also those > values which are masked out are displayed (with their fill_value). Is that > really the desired behaviour? > > I'm working in an environment where w

Re: [Matplotlib-users] howto turn off colorbar frame

2010-06-17 Thread Jae-Joon Lee
> > The following gets it done, however: > > cb.ax.artists.remove(cb.outline) > or cb.outline.remove() -JJ -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to

[Matplotlib-users] hist() and masked_array

2010-06-17 Thread Andreas Hilboll
Hi there, I just noticed today that when I call hist() on a masked_array, also those values which are masked out are displayed (with their fill_value). Is that really the desired behaviour? I'm working in an environment where we're mostly using masked_array, but also sometimes the 'normal' ndarra

Re: [Matplotlib-users] howto turn off colorbar frame

2010-06-17 Thread Ryan May
On Thu, Jun 17, 2010 at 10:29 AM, Jeff Perry wrote: > can someone tell me how to turn off the frame on the colorbar? > > i tried this > > ... > cb=plt.colorbar() > plt.axes(cb.ax) > plt.box(on=False) There's no function or parameter to control this at the moment unfortunately (I've marked this as

[Matplotlib-users] howto turn off colorbar frame

2010-06-17 Thread Jeff Perry
can someone tell me how to turn off the frame on the colorbar? i tried this ... cb=plt.colorbar() plt.axes(cb.ax) plt.box(on=False) ... but it has no effect thanks, jeff -- ThinkGeek and WIRED's GeekDad team up for the

Re: [Matplotlib-users] color in plot3d

2010-06-17 Thread Pablo Angulo
Thanks again! El 17/06/10 02:03, Mike Alger escribió: > > Pablo, > > > > I found the example on the svn > > http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/examples/mplot3d/surface3d_demo3.py?view=log > it will demonstrate the face colour thing but personally I found

[Matplotlib-users] Demo does not work on Snow Leopard

2010-06-17 Thread Hana Sevcikova
Hi, I installed matplotlib-0.99.3-py2.6-macosx10.6.dmg on MacOS X 10.6.3, python 2.6.5. But I get an error when running the histogram example from http://matplotlib.sourceforge.net/examples/api/histogram_demo.html Exception in Tkinter callback Traceback (most recent call last): File "/Librar