Re: [Matplotlib-users] problem / bug with LogLocator in rev8732

2010-10-07 Thread Matthias Michler
On Thursday October 7 2010 12:06:26 Matthias Michler wrote: Hello list, I run into trouble with the resent svn version using logarithmic scaling as before. This is probably due to the changes from rev 8730 to 8732, where in the ticker,py the line ticklocs = self._transform. ... was

[Matplotlib-users] problem / bug with LogLocator in rev8732

2010-10-07 Thread Matthias Michler
Hello list, I run into trouble with the resent svn version using logarithmic scaling as before. This is probably due to the changes from rev 8730 to 8732, where in the ticker,py the line ticklocs = self._transform. ... was added. Running my program I get the following AttributeError: File

Re: [Matplotlib-users] Graph

2010-10-07 Thread Waléria Antunes David
How to have only the vertical grid lines.? And I trying to increase the spacing in the x direction, I used the 'ax.set_xscale (' log ')', but the points were even more confused. Do you saw my image that sent yestarday? On Wed, Oct 6, 2010 at 5:10 PM, Benjamin Root ben.r...@ou.edu wrote: On

Re: [Matplotlib-users] problem / bug with LogLocator in rev8732

2010-10-07 Thread Michael Droettboom
Thanks for bringing this to my attention. The fix was for symlog, but inadvertently broke log. Your suggested fix is nice, but it doesn't have exactly the same behavior as what it used to do. My fix (in r8733) is to basically restore the old code in the case of regular log, and only use

Re: [Matplotlib-users] Graph

2010-10-07 Thread Waléria Antunes David
Hi, I'm asking how to have only the vertical grid lines.? And I'm trying to increase the spacing in the x direction, I used the 'ax.set_xscale (' log ')', but the points were even more confused. Do you saw my image that sent yestarday? Thanks, Waleria On Wed, Oct 6, 2010 at 5:10 PM, Benjamin

[Matplotlib-users] Subaxis - Basemap - Rectangle

2010-10-07 Thread Bror Jonsson
Dear all, I am trying to add a rectangle in a basemap map that reside in a inlined axis. I am basing this exercise on the following code: (from http://old.nabble.com/display-a-filled-lat-lon-basemap-rectangle.-td28169736.html) from matplotlib.patches import Polygon import matplotlib.pyplot

[Matplotlib-users] Best way to use Excel Data

2010-10-07 Thread Jahan Mohiuddin
Hi, I am an novice-intermediate user of python (I took a 1 semester course in scientific programming with python). I wanted to know what the best way is to manipulate, analyze, and plot Microsoft Excel data. The methods I've looked into: 1. Save data in CSV file and use csv.dictreader

Re: [Matplotlib-users] subplot grids with EPD

2010-10-07 Thread Jakub Nowacki
Hi, Personally I've tried to install Matplotlib 1.0.0 manually in EPD on Mac and Linux. For some reason on Linux it went totally OK from the first try (just had to define PREFIX correctly). On Mac I've tried to do the same but for some reason the libs are linked somehow differently and while

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-07 Thread João Luís Silva
On 10/07/2010 05:11 PM, Jahan Mohiuddin wrote: Hi, I am an novice-intermediate user of python (I took a 1 semester course in scientific programming with python). I wanted to know what the best way is to manipulate, analyze, and plot Microsoft Excel data. The methods I've looked into: 1.

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-07 Thread Michael Droettboom
You may want to look at this as well: http://matplotlib.sourceforge.net/api/mlab_api.html?highlight=csv#matplotlib.mlab.csv2rec Mike On 10/07/2010 01:04 PM, João Luís Silva wrote: On 10/07/2010 05:11 PM, Jahan Mohiuddin wrote: Hi, I am an novice-intermediate user of python (I took a 1

Re: [Matplotlib-users] Graph

2010-10-07 Thread Tony S Yu
On Oct 7, 2010, at 11:54 AM, Waléria Antunes David wrote: Hi, I'm asking how to have only the vertical grid lines.? And I'm trying to increase the spacing in the x direction, I used the 'ax.set_xscale (' log ')', but the points were even more confused. Do you saw my image that sent

Re: [Matplotlib-users] confused about behavior inside and outside ipython

2010-10-07 Thread Eric Firing
On 10/06/2010 06:18 PM, Collin Day wrote: I have googled around and looked through the documents, but I can't seem to find a description of the difference between running a script inside and outside ipython (using ipython --pylab). For example, I tried doing the following in a script and made

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-07 Thread John Hunter
On Thu, Oct 7, 2010 at 12:27 PM, Michael Droettboom md...@stsci.edu wrote:  You may want to look at this as well: http://matplotlib.sourceforge.net/api/mlab_api.html?highlight=csv#matplotlib.mlab.csv2rec And these examples: http://matplotlib.sourceforge.net/search.html?q=codex+csv2rec JDH

Re: [Matplotlib-users] Graph

2010-10-07 Thread John Hunter
On Thu, Oct 7, 2010 at 1:01 PM, Waléria Antunes David waleriantu...@gmail.com wrote: I need to know how do these vertical lines on the graph. See the picture, the lines circled. We call these major and minor ticks. The major ticks are the taller ones, the minor ticks are the smaller ones.

[Matplotlib-users] Vlines across multiple subplots

2010-10-07 Thread Justin McCann
I have several heatmap images, which I place in subplots stacked vertically. I've been using ax = figure.add_subplot(nplots, 1, plotnum) ax.imshow(...) to add each subsequent heatmap, and then place -- Beautiful is

Re: [Matplotlib-users] Vlines across multiple subplots

2010-10-07 Thread Justin McCann
Sorry about that; don't know what key combo I pushed. Completed email is below. On Thu, Oct 7, 2010 at 3:09 PM, Justin McCann jne...@gmail.com wrote: I have several heatmap images, which I place in subplots stacked vertically. I've been using ax = figure.add_subplot(nplots, 1, plotnum)

Re: [Matplotlib-users] Graph

2010-10-07 Thread Tony S Yu
On Oct 7, 2010, at 3:38 PM, Waléria Antunes David wrote: Hi, I did like the links below, but seeing as it was my chart. See My code: http://pastebin.com/KcjHAPLN On Thu, Oct 7, 2010 at 3:08 PM, John Hunter jdh2...@gmail.com wrote: On Thu, Oct 7, 2010 at 1:01 PM, Waléria Antunes

[Matplotlib-users] show() command does not create plot with agg, only with wx

2010-10-07 Thread Jacob Silterra
Hello, The only backend which works on my machine is wx. The problem I was having was that matplotlib installed fine, but didn't show plots. I tried removing matplotlib and re-installing, that didn't help. I was using the Agg backend and figure windows did not get created. Cairo doesn't work

Re: [Matplotlib-users] show() command does not create plot with agg, only with wx

2010-10-07 Thread Benjamin Root
On Thu, Oct 7, 2010 at 7:55 PM, Jacob Silterra jsil...@gmail.com wrote: Hello, The only backend which works on my machine is wx. The problem I was having was that matplotlib installed fine, but didn't show plots. I tried removing matplotlib and re-installing, that didn't help. I was using

Re: [Matplotlib-users] Vlines across multiple subplots

2010-10-07 Thread Justin McCann
On Thu, Oct 7, 2010 at 4:08 PM, Benjamin Root ben.r...@ou.edu wrote: ... On Thu, Oct 7, 2010 at 3:09 PM, Justin McCann jne...@gmail.com wrote: ... I'd like to annotate across all of the subplots by placing a vertical line (or vspan) across the entire figure-- to extend from the bottom

[Matplotlib-users] Cursor position

2010-10-07 Thread Thomas Robitaille
Hi, I am using matplotlib with the MacOSX backend. If I run: import matplotlib matplotlib.use('MacOSX') import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(1,1,1) the cursor coordinates are missing from the bottom right of the window. If I click on the figure, the

[Matplotlib-users] Events not registering in FigureCanvasWxAgg

2010-10-07 Thread Åke Kullenberg
I am using Python 2.7 and Matplotlib 1.0.0 and I am having problems getting events triggering in this example below. I have taken the draggable rectangle example (with blit) code from the event handling documentation ( http://matplotlib.sourceforge.net/users/event_handling.html) and tried to put

Re: [Matplotlib-users] Events not registering in FigureCanvasWxAgg

2010-10-07 Thread Eric Firing
On 10/07/2010 07:11 PM, Åke Kullenberg wrote: I am using Python 2.7 and Matplotlib 1.0.0 and I am having problems getting events triggering in this example below. I have taken the draggable rectangle example (with blit) code from the event handling documentation