[Matplotlib-users] Multiple tick labels

2010-09-10 Thread Brian Larsen
Hello all, I feel like this is possible but I am having trouble figuring it out. I want to put extra labels on the ticks on the xaxis like in the upper panel of the figure http://sprg.ssl.berkeley.edu/fast/graphics/socfig1.gif Following

Re: [Matplotlib-users] Line changes color along its length

2010-09-08 Thread Brian Larsen
Perfect thank you, no wonder I didnt find it, plt.gca().add_collection(lc) never found its way to my radar. Cheers, Brian On Sep 7, 2010, at 7:58 PM, Ryan May wrote: On Tue, Sep 7, 2010 at 6:50 PM, Brian Larsen balar...@lanl.gov wrote: Hey all, I think I know the answer here

[Matplotlib-users] Line changes color along its length

2010-09-07 Thread Brian Larsen
Hey all, I think I know the answer here as no or something, but say I have a curve I want to plot and I want the color to change along the curve to denote the 3rd variable is there anyway to do this is matplotlib? What I mean is take the simple plot from pylab import * plot(range(30),

[Matplotlib-users] Map displayed on a plot

2010-08-27 Thread Brian Larsen
Hello all, I am plotting satellite orbit files and it looks really nice to plot an Earth in the center with the continents on it to orient people to where the spacecraft is. Does anyway know how to do this? All I seem to be able to do is create a whole globe as the figure. In this simple

Re: [Matplotlib-users] Map displayed on a plot

2010-08-27 Thread Brian Larsen
Ben, I have but no where in there do I see (or at least understand) how to draw a map on top of a current figure with set bounds in data space... Cheers, Brian On Aug 27, 2010, at 11:24 AM, Benjamin Root wrote: On Fri, Aug 27, 2010 at 12:11 PM, Brian Larsen balar...@lanl.gov wrote

Re: [Matplotlib-users] Map displayed on a plot

2010-08-27 Thread Brian Larsen
PM, Brian Larsen balar...@lanl.gov wrote: Ben, I have but no where in there do I see (or at least understand) how to draw a map on top of a current figure with set bounds in data space... Cheers, Brian On Aug 27, 2010, at 11:24 AM, Benjamin Root wrote: On Fri, Aug 27, 2010 at 12

[Matplotlib-users] Font size on an axis

2010-01-21 Thread Brian Larsen
Hey all, wow, this seems like it should be an easy thing but I am not finding answers in the gallery or searching the documentation. How does one set the font size on ticklabels and labels for a figure? I would expect something like plot(arange(11), xfontsize=14) to work but I am not

[Matplotlib-users] Anyone going to Fall AGU next week

2009-12-11 Thread Brian Larsen
Hello all, I am new to matplotlib and loving it (No more IDL for me, woohoo). Are any experts attending the meeting that have done things in python/ matplotlib that I need to be sure and see? Still wrapping my mind around the python way instead of the IDL way and talking about cool

[Matplotlib-users] Plotting a solid circle on a polar plot

2009-12-02 Thread Brian Larsen
Hello, this seems like it should be easy but I am beating my head on the wall here. I am trying to fill in everything rad=1 in a polar plot (this is a spacecraft orbit trace and the circle is the Earth) and can't seem to get it. from pylab import * from matplotlib.patches import Circle

[Matplotlib-users] imagsc comparison

2009-11-28 Thread Brian Larsen
Hello all, several of my colleagues and I are 99% sure we are making the change from IDL to python-matplotlib. I have just one issue that I am trying to work out that I need to solve. We are so far really impressed and looking forward to the change. I have seen discussion on this list