[Matplotlib-users] basic understanding of plotting dates

2007-09-03 Thread C M
This is really basic stuff but I had some problems navigating in the matplotlib website (*if anyone is interested, I'll list those issues at the end). I want to simply plot dates. After reading the tutorial, I just don't understand how to do it. I will have lists of dates in the format like 2007

Re: [Matplotlib-users] inverted x-axis

2007-09-03 Thread Jouni K . Seppänen
Johann Cohen-Tanugi <[EMAIL PROTECTED]> writes: > I would like to know if there is an easy to invert a axis (specifically > the x-axis), id est to have the labels between say 0 an1 automatically > run from right to left. setp(gca(), 'xlim', reversed(getp(gca(), 'xlim'))) i.e., just put the lar

[Matplotlib-users] inverted x-axis

2007-09-03 Thread Johann Cohen-Tanugi
hello, I would like to know if there is an easy to invert a axis (specifically the x-axis), id est to have the labels between say 0 an1 automatically run from right to left. This is particularly welcome in astrophysical context, where the spherical x coordinate of a 2D image is often reversed. t

Re: [Matplotlib-users] Saving just a colorbar

2007-09-03 Thread Eric Firing
Jose, Attached is an example that should at least point you in the right direction. I will also add it to the examples directory in the distribution. Eric Jose Gomez-Dans wrote: Hi, I am using Matplotlib to produce colormaps which I use with other programs. I would like to produce a PNG f

Re: [Matplotlib-users] imshow : text.py broken?

2007-09-03 Thread Jouni K . Seppänen
Xavier Gnata <[EMAIL PROTECTED]> writes: > I do not know if we should post bug reports against matplotlib svn. Posting bug reports is likely to be helpful, but I suspect the developers' list might be more appropriate for bugs in the svn version. For bugs in released versions, I think John has to

[Matplotlib-users] imshow : text.py broken?

2007-09-03 Thread Xavier Gnata
Hi, I do not know if we should post bug reports against matplotlib svn. Please tell us. Anyway, imshow is now fully broken this way : imshow(ones((100,100))) /usr/lib/python2.4/site-packages/matplotlib/pylab.py in imshow(*args, **kwargs) 1960 try: 1961 ret = gca().imshow(*ar

[Matplotlib-users] Saving just a colorbar

2007-09-03 Thread Jose Gomez-Dans
Hi, I am using Matplotlib to produce colormaps which I use with other programs. I would like to produce a PNG file with the used colormap (so that I can overlay). Rather than doing an imshow() followed by colorbar, is there an easy way I could pass the colorbar my cmap instance to have it plotted o