[Matplotlib-users] xlim affects xticks

2008-11-11 Thread Alan G Isaac
Why does set_xlim have to come before set_xticks? I expect the same ticks but within the limits, but mpl recomputes the ticks. Thanks, Alan Isaac - This SF.Net email is sponsored by the Moblin Your Move Developer's challen

Re: [Matplotlib-users] histogram examples?

2008-11-11 Thread Eric Firing
Michael Hannon wrote: > On Tue, Nov 11, 2008 at 07:13:46AM -1000, Eric Firing wrote: >> Michael Hannon wrote: >>> Greetings. I need to make some histograms from within a Python program, >>> and I noticed that Matplotlib, which I've never used before, appears to >>> have that capability. >>> >>> At

Re: [Matplotlib-users] Was: [SciPy-user] Plotting vector field + velocity magnitude in background

2008-11-11 Thread Eric Firing
Fabrice Silva wrote: > Le lundi 10 novembre 2008, wbrevis a écrit : >> I'm trying to plot one of my experimental data using scipy. Until now, >> all the work I did was using Matlab. For one of my normal data- >> visualization, I read ASCII or Binary files containing 4 columns: The >> first contains

Re: [Matplotlib-users] histogram examples?

2008-11-11 Thread Michael Hannon
On Tue, Nov 11, 2008 at 07:13:46AM -1000, Eric Firing wrote: > Michael Hannon wrote: > >Greetings. I need to make some histograms from within a Python program, > >and I noticed that Matplotlib, which I've never used before, appears to > >have that capability. > > > >At: > >http://matplotlib.so

Re: [Matplotlib-users] axvspan/axvline trashes view limits

2008-11-11 Thread Ben Gamari (FOSS)
Eric Firing wrote: > This bug is fixed now in svn for axvline and axhline. If you need a > workaround for your current version of mpl, you could save the view > limits before the axvline call and restore them after it. > > I still need to check axvspan and axhspan; they probably need a > similar f

Re: [Matplotlib-users] tick labels plot_date

2008-11-11 Thread Alan G Isaac
> Have you tried to use the timeseries scikits ? It provides some > convenient way to plot the kind of data you have, and ticks are > automatically adjusted depending on the level of zoom. > You can download the sources by SVN: > svn co http://svn.scipy.org/svn/scikits/trunk/timeseries timeseries

Re: [Matplotlib-users] histogram examples?

2008-11-11 Thread Eric Firing
Michael Hannon wrote: > Greetings. I need to make some histograms from within a Python program, > and I noticed that Matplotlib, which I've never used before, appears to > have that capability. > > At: > http://matplotlib.sourceforge.net/ > > I see the following simple example: > > >>>

[Matplotlib-users] tick labels plot_date

2008-11-11 Thread Alan G Isaac
I have about 20 years of monthly data to plot using plot_date. The data are datetime dates and floats. As usual, the ticks are chosen very nicely for the floats. But far too many dates are ticked, and their text completely overlaps. Even if I use autofmt_xdate(), which allows me to at least read

[Matplotlib-users] histogram examples?

2008-11-11 Thread Michael Hannon
Greetings. I need to make some histograms from within a Python program, and I noticed that Matplotlib, which I've never used before, appears to have that capability. At: http://matplotlib.sourceforge.net/ I see the following simple example: >>> from pylab import randn, hist >>> x =

Re: [Matplotlib-users] axvspan/axvline trashes view limits

2008-11-11 Thread Eric Firing
Ben Gamari (FOSS) wrote: > Hey all, > > I've come across quite a problem while using pylab in a recent project. > It seems that the second time I call axvspan or axvline, the view limits > are reset (seemingly arbitrarily). I have attached a code sample > (derived from my project) to demonstrate t

[Matplotlib-users] Crosshai cursor or Selector with matplotlib.backends.backend_wxagg

2008-11-11 Thread jansohn
Dear all, after looking around for a plotting library I found Matplotlib and I tried to create a gray scale image in a wxpython application. Looks good! Now I have to find a line in the image with mainly vertical orientation. To do this a crosshair cursor would be fine. In Pylab I found a SpanS

Re: [Matplotlib-users] Crosshai cursor or Selector with matplotlib.backends.backend_wxagg

2008-11-11 Thread Darren Dale
On Tuesday 11 November 2008 09:03:30 am [EMAIL PROTECTED] wrote: > Dear all, > > after looking around for a plotting library I found Matplotlib and I tried > to create a gray scale image in a wxpython application. Looks good! > > Now I have to find a line in the image with mainly vertical orientati

Re: [Matplotlib-users] Matplotlib with native OSX port of GTK

2008-11-11 Thread John Hunter
On Mon, Nov 10, 2008 at 6:00 AM, Marcus Vinicius Eiffle Duarte <[EMAIL PROTECTED]> wrote: > So, all the libraries and headers are installed in the default > folders. However, when I try to build matplotlib I get the following > error: > In file included from src/backend_gdk.c:9: > /usr/include/py

[Matplotlib-users] Was: [SciPy-user] Plotting vector field + velocity magnitude in background

2008-11-11 Thread Fabrice Silva
Le lundi 10 novembre 2008, wbrevis a écrit : > I'm trying to plot one of my experimental data using scipy. Until now, > all the work I did was using Matlab. For one of my normal data- > visualization, I read ASCII or Binary files containing 4 columns: The > first contains the x coordinate, the seco