Re: [Matplotlib-users] xlim with dates

2010-03-12 Thread Ryan May
On Fri, Mar 12, 2010 at 1:15 PM, Alex S wrote: > Hi there, does anyone know if there's a simple way to set an axis limit to a > date?  "viewlim_to_dt()" looks promising, but I can't figure out how to use > it... If you've plotted using dates, just use dates for the limits: import matplotlib.pypl

Re: [Matplotlib-users] legend: dash pattern length

2010-03-12 Thread Jae-Joon Lee
On Fri, Mar 12, 2010 at 3:47 PM, Alan G Isaac wrote: > I suggest instead > "These values are measure in font-size units. > E.g., a fontsize of 10 points and a handlelength=5 > implies a handlelength of 50 points." > Thanks. Applied in r8159. Regards, -JJ

Re: [Matplotlib-users] Agg complexity exceeded

2010-03-12 Thread John Hunter
Note that there is a significant bug in the path.simplify code in the latest released version that is fixed in svn. The simplification should not be visible to the human eye. Please try the release candidate at http://drop.io/xortel1# if you don't have access to svn JDH On Fri, Mar 12, 2010

Re: [Matplotlib-users] legend: dash pattern length

2010-03-12 Thread Alan G Isaac
> On Thu, Mar 11, 2010 at 8:32 PM, Alan G Isaac wrote: > > 1. What are the units (and why not points)? On 3/11/2010 11:00 PM, Jae-Joon Lee wrote: > Fraction of (legend) font size (in points). It was decided that it is > these dimensions are better to be scale with font size. > For example, ha

[Matplotlib-users] Plotting data from serial stream

2010-03-12 Thread Gökhan Sever
Hello, I read a simple data stream from my computers serial port. I can nicely read the data using pyserial library but couldn't get it *nicely* working neither with WXAgg nor Qt4Agg using the following code. Although with WX I could get updated looks, the figure isn't very responsive in this way.

Re: [Matplotlib-users] xlim with dates

2010-03-12 Thread Alex S
Ah perfect, thanks a lot, sorry for the mundane question :) -- View this message in context: http://old.nabble.com/xlim-with-dates-tp27881612p27882177.html Sent from the matplotlib - users mailing list archive at Nabble.com. -

Re: [Matplotlib-users] xlim with dates

2010-03-12 Thread othererik
Alex S wrote: > > Hi there, does anyone know if there's a simple way to set an axis limit to > a date? "viewlim_to_dt()" looks promising, but I can't figure out how to > use it... > > Thanks a lot, > Alex > Alex, I've done something like this in the past: ax.set_xlim( ( min_val,

[Matplotlib-users] xlim with dates

2010-03-12 Thread Alex S
Hi there, does anyone know if there's a simple way to set an axis limit to a date? "viewlim_to_dt()" looks promising, but I can't figure out how to use it... Thanks a lot, Alex -- View this message in context: http://old.nabble.com/xlim-with-dates-tp27881612p27881612.html Sent from the matplot

Re: [Matplotlib-users] Agg complexity exceeded

2010-03-12 Thread John Hunter
On Fri, Mar 12, 2010 at 12:15 PM, Eric Firing wrote: > This example is mostly obsolete--the clipping procedure is built-in. (The > value added by the example is the change in marker style.) Right, which is what I was trying to get at in the following: While this may not solve your case, becau

Re: [Matplotlib-users] Agg complexity exceeded

2010-03-12 Thread Eric Firing
John Hunter wrote: > On Fri, Mar 12, 2010 at 8:30 AM, Tornes, Ivan E wrote: >> I’m working on a project that handles large data sets. Up to this point I >> had not had any issues using matplotlib, but I tried yesterday to have it >> plot a file that had 8 million float,float pairs in it and dies

Re: [Matplotlib-users] Agg complexity exceeded

2010-03-12 Thread John Hunter
On Fri, Mar 12, 2010 at 8:30 AM, Tornes, Ivan E wrote: > I’m working on a project that handles large data sets.  Up to this point I > had not had any issues using matplotlib, but I tried yesterday to have it > plot a file that had 8 million float,float pairs in it and dies with the > following mes

Re: [Matplotlib-users] how to reduce width of figure border ?

2010-03-12 Thread Jim Vickroy
Pierre de Buyl wrote: > change line 29 to: > left, bottom, width, height = 0.1, 0.07, 1., 0.84 # values in 0-1 > relative figure coordinates -- allow space on left for colorbar > > it works on my machine (python 2.5 and mpl 0.99, mac os X 10.4). > > Pierre > Le 11 mars 10 à 23:36, Jim Vickroy a éc

[Matplotlib-users] vlines with no padding

2010-03-12 Thread jdidion
I am using vlines to draw multiple bar graphs in a single figure. I would like for lines at adjacent x-values to have no gap between them, but I can't figure out how to make this happen, other than to use a really fat line width (which I would prefer not to do). Any help is appreciated. I can make

Re: [Matplotlib-users] figure save problem

2010-03-12 Thread Andre Walker-Loud
Hi All, An update: I have likely figured out the problem. When I did a fresh install of Python-2.6 on my mac, I simply used ./configure and reading more about installing on the mac, I believe I should have used ./configure --enable-framework to support all the GUI stuff. Well, I tried t

Re: [Matplotlib-users] how to reduce width of figure border ?

2010-03-12 Thread Pierre de Buyl
change line 29 to: left, bottom, width, height = 0.1, 0.07, 1., 0.84 # values in 0-1 relative figure coordinates -- allow space on left for colorbar it works on my machine (python 2.5 and mpl 0.99, mac os X 10.4). Pierre Le 11 mars 10 à 23:36, Jim Vickroy a écrit : > Hello, > > The attached sc

[Matplotlib-users] Agg complexity exceeded

2010-03-12 Thread Tornes, Ivan E
I'm working on a project that handles large data sets. Up to this point I had not had any issues using matplotlib, but I tried yesterday to have it plot a file that had 8 million float,float pairs in it and dies with the following message: pException in Tkinter callback Traceback (most recent

[Matplotlib-users] setting ticks on Axes3D

2010-03-12 Thread christopher ariza
greetings. i am trying to set ticks on a 3d plot. i see this question was asked here, in january, but does not seem to have a response: http://sourceforge.net/mailarchive/message.php?msg_id=6946b9501001040452s7aac73bam52d3075645c1f...@mail.gmail.com is there an example available of setting tic

Re: [Matplotlib-users] Re move, mask, or hide parts of a polygon?

2010-03-12 Thread othererik
Jae-Joon Lee wrote: > > > Please post a complete example that demonstrate your problem. My guess > is that maybe you are not setting the transform of the clipping path > correctly. > Regards, > > -JJ > > > Here's a short example that does the opposite of what I'm looking for. The goal is