Re: [Matplotlib-users] Plot data with specified time (hour, minute, second)

2008-04-29 Thread Johan Mazel
Ok. I tried to do the job through the old way and it's working. But I have the latest version (0.91.2). Is it possible that my version wasn't successfully installed and that an older one is doing the job ? Anyway, thanks a lot for the (fast) help. Johan 2008/4/29 John Hunter <[EMAIL PROTECTED]>:

[Matplotlib-users] Fwd: Plot data with specified time (hour, minute, second)

2008-04-29 Thread Johan Mazel
-- Forwarded message -- From: Johan Mazel <[EMAIL PROTECTED]> Date: 2008/4/29 Subject: Re: [Matplotlib-users] Plot data with specified time (hour, minute, second) To: John Hunter <[EMAIL PROTECTED]> When you wrote "import matplotlib.ticker", you meant "from matplotlib.dates import

Re: [Matplotlib-users] Plot data with specified time (hour, minute, second)

2008-04-29 Thread John Hunter
On Tue, Apr 29, 2008 at 11:38 AM, Johan Mazel <[EMAIL PROTECTED]> wrote: > Ok. > I manage to get either time or date but not both inside the same object . > And I don't know how to use plot with two object (one for the time and the > other for the date). you can get the date and time into a dateti

Re: [Matplotlib-users] Plot data with specified time (hour, minute, second)

2008-04-29 Thread Johan Mazel
Ok. I manage to get either time or date but not both inside the same object . And I don't know how to use plot with two object (one for the time and the other for the date). Thanks for the answer. Johan Mazel 2008/4/29 John Hunter <[EMAIL PROTECTED]>: > On Tue, Apr 29, 2008 at 8:12 AM, Johan Maz

Re: [Matplotlib-users] pls help: error using set(gca(),...)

2008-04-29 Thread John Hunter
On Sun, Apr 27, 2008 at 10:09 PM, samwo <[EMAIL PROTECTED]> wrote: > > Hi. > > I run these codes in ipython command line interface. > > from pylab import * > subplot(211) > plot([1,2,3],[1,2,3]) > set(gca(), xtickslabel = []) "set" is a python built-in (the mathematical set) and matplotlib n

Re: [Matplotlib-users] pls help: error using set(gca(),...)

2008-04-29 Thread Matthias Michler
Hi Sam, On Monday 28 April 2008 05:09:36 samwo wrote: > Hi. > > I run these codes in ipython command line interface. > > from pylab import * > subplot(211) > plot([1,2,3],[1,2,3]) There is a small typo (or a wrong method): > set(gca(), xtickslabel = []) needs to be setp(gca(), xticklabels = [])

Re: [Matplotlib-users] Plot data with specified time (hour, minute, second)

2008-04-29 Thread John Hunter
On Tue, Apr 29, 2008 at 8:12 AM, Johan Mazel <[EMAIL PROTECTED]> wrote: > I also would like to know wether I can use the same type of functionnality > as in Gnuplot where you can specify the format of data in input and the data > displayed of the x axis. I just guess that the use of the date objec

[Matplotlib-users] pls help: error using set(gca(),...)

2008-04-29 Thread samwo
Hi. I run these codes in ipython command line interface. from pylab import * subplot(211) plot([1,2,3],[1,2,3]) set(gca(), xtickslabel = []) and got the error saying "Type error: set() does not take keyword arguments" My OS is windows XP. The code I used is copied from matplotlib tutorial. Pls

Re: [Matplotlib-users] Strange Plotting Behavior When Extremely Zoomed

2008-04-29 Thread John Hunter
On Tue, Apr 29, 2008 at 7:45 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I was able to reproduce it on 0.90.1 and 0.91.2, but not SVN trunk. This > could be because the affine transformation that does the zooming in now > happening within the Agg backend rather than at the Python level --

[Matplotlib-users] Plot data with specified time (hour, minute, second)

2008-04-29 Thread Johan Mazel
Hello I'd like to know wether Matplotlib can display data with an x axis based on day, hour, minute and seconds. I found some example and tutorial that shows that this can be done for year, month and day but not for hour, minute, seconds. It looks like matplotlib use the python type date and genera

Re: [Matplotlib-users] Strange Plotting Behavior When Extremely Zoomed

2008-04-29 Thread Michael Droettboom
I was able to reproduce it on 0.90.1 and 0.91.2, but not SVN trunk. This could be because the affine transformation that does the zooming in now happening within the Agg backend rather than at the Python level -- i.e. there are fewer opportunities for floating-point underflow and the like. Of

Re: [Matplotlib-users] Strange Plotting Behavior When Extremely Zoomed

2008-04-29 Thread John Hunter
On Mon, Apr 28, 2008 at 8:21 PM, Sunzen Wang <[EMAIL PROTECTED]> wrote: > > I feel it something to do with zooming in beyond the resolution of the > > underlying system (no evidence of this) > > > I have no idea of it. Could some masters say something about it? This is an old, long standing

Re: [Matplotlib-users] new to matplotlib

2008-04-29 Thread John Hunter
On Tue, Apr 29, 2008 at 2:59 AM, sandric ionut <[EMAIL PROTECTED]> wrote: > I am new to Matplotlib so please excuse me > I have my data organized in three columns: x,y,z. X and Y represents the > coordinates of a point and Z is the elevation at that point. I want to > create a chart that has on y

Re: [Matplotlib-users] Postscript problem

2008-04-29 Thread John Hunter
On Tue, Apr 29, 2008 at 2:06 AM, Johann Cohen-Tanugi <[EMAIL PROTECTED]> wrote: > hi John, > for the record, I have a fedora 8 box, and the shipped version of > pkgconfig (pkgconfig-0.22-4.fc8) gives me : > > [EMAIL PROTECTED] matplotlib]$ /usr/bin/pkg-config --libs freetype2 > -lfreetype > >

Re: [Matplotlib-users] Coming from gnuplot

2008-04-29 Thread John Hunter
On Tue, Apr 29, 2008 at 7:12 AM, Daniel Lidström <[EMAIL PROTECTED]> wrote: > This is it. The script is a multiplot script, but how to do that part with > matplotlib > I think I can work out myself. I am printing two graphs that contain > "issues" and "tests". > These values are displayed ove

[Matplotlib-users] Coming from gnuplot

2008-04-29 Thread Daniel Lidström
Hello! I have recently found out about matplotlib, and at the same time I am having problems using gnuplot. So I want to convert :-) However, as I am also quite new to python I have a somewhat steep learning curve. It is really only one simple gnuplot script I want to convert, and I have come a l

Re: [Matplotlib-users] Developing with IPython

2008-04-29 Thread Robin
On Tue, Apr 29, 2008 at 2:27 AM, G Jones <[EMAIL PROTECTED]> wrote: > Hello, > I appologize for a slightly off topic post, but I'm sure someone here > knows the answer. I like the idea of developing code interactively > with IPython, but I cannot get past one hurdle. I would like to write > my

[Matplotlib-users] new to matplotlib

2008-04-29 Thread sandric ionut
Hello: I am new to Matplotlib so please excuse me I have my data organized in three columns: x,y,z. X and Y represents the coordinates of a point and Z is the elevation at that point. I want to create a chart that has on y axis the elevation and on x axis the distance between the coordinates o

Re: [Matplotlib-users] Postscript problem

2008-04-29 Thread Johann Cohen-Tanugi
hi John, for the record, I have a fedora 8 box, and the shipped version of pkgconfig (pkgconfig-0.22-4.fc8) gives me : [EMAIL PROTECTED] matplotlib]$ /usr/bin/pkg-config --libs freetype2 -lfreetype No -lz here, if I am not wrong in my querying this tool . best, Johann ---