Re: [Matplotlib-users] axes.set_aspect

2008-02-04 Thread Eric Firing
Carol Leger wrote: > Hi Folks, > > I have acquired some code that was running on a previous version of > matplotlib. I am now using version 0.91.2. > > The code I acquired uses the following code fragment: > import pylab > from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCan

[Matplotlib-users] axes.set_aspect

2008-02-04 Thread Carol Leger
Hi Folks, I have acquired some code that was running on a previous version of matplotlib. I am now using version 0.91.2. The code I acquired uses the following code fragment: import pylab from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas figure = matplotlib.pyl

Re: [Matplotlib-users] PS backend does not respect kwargs

2008-02-04 Thread Michael Droettboom
This should be fixed now in SVN r4938. The graphics context was "sticking". Cheers, Mike [EMAIL PROTECTED] wrote: > When using the PostScript backend, and plotting several lines with the same > call to plot (or when plotting a LineCollection), kwargs are applied to the > first line only, and n

Re: [Matplotlib-users] histogram

2008-02-04 Thread jlu
linestyle='steps' only works for plot() not hist(). To use that, I have to generate points at the edges of each histogram step... this is what my custom code does now. IDL's histogram code does this automatically. Linewidth=0 doesn't work because it removes ALL lines. I also need fill=None

Re: [Matplotlib-users] histogram

2008-02-04 Thread Pierre GM
On Monday 04 February 2008 12:28:21 jlu wrote: > Are there any plans to add to hist() the ability to do non-bar style > histograms? I mean something like the following: What about using plot w/ linestyle='steps' ? Or change the linewidth to 0 in bar --

[Matplotlib-users] histogram

2008-02-04 Thread jlu
Are there any plans to add to hist() the ability to do non-bar style histograms? I mean something like the following: <> Right now, all histograms have lines on the side of each "bar" going all the way to the base of the plot. I had to write some custom code to make this figure, but I us

[Matplotlib-users] titles for legends

2008-02-04 Thread John Travers
Hello, I sometimes want to add titles to legends in matplotlib. I couldn't find an existing way to do this (but if there is one, then please tell me!). So I have hacked together a patch to add a title keyword to the legend class, which adds the title to the top of the legend. I'm not sure it confo

[Matplotlib-users] displaying multiple plots

2008-02-04 Thread Alan Jackson
I've done this on my system at home, but it doesn't seem to be working at work. I generate a series of imshow() plots, each followed by a show() command. When I run the script, it should pause after each show() until I exit the plot, and then display the next plot. But now it isn't working. The fi

Re: [Matplotlib-users] STIX fonts outside of mathtext

2008-02-04 Thread Michael Droettboom
John Travers wrote: > On Mon, Feb 04, 2008 at 08:22:57AM -0500, Michael Droettboom wrote: >> In your matplotlibrc file, you can set the following: >> >> font.family : serif >> font.serif : STIXGeneral >> >> Also note the numerals and Latin characters are extremely similar if not >> identical to T

Re: [Matplotlib-users] STIX fonts outside of mathtext

2008-02-04 Thread John Travers
On Mon, Feb 04, 2008 at 08:22:57AM -0500, Michael Droettboom wrote: > In your matplotlibrc file, you can set the following: > > font.family : serif > font.serif : STIXGeneral > > Also note the numerals and Latin characters are extremely similar if not > identical to Times (or "Times New Roman"),

Re: [Matplotlib-users] STIX fonts outside of mathtext

2008-02-04 Thread Michael Droettboom
In your matplotlibrc file, you can set the following: font.family : serif font.serif : STIXGeneral Also note the numerals and Latin characters are extremely similar if not identical to Times (or "Times New Roman"), so you could also use that for titles/labels etc., but it doesn't really matter.

[Matplotlib-users] STIX fonts outside of mathtext

2008-02-04 Thread John Travers
Hello, I'm very pleased with the STIX fonts support in mathtext. Thanks for getting this working! However, I would like to use the same font in labels which do not contain mathtext, for consistency. I cannot work out how to do this. Can anyone help with this? Thanks, John -

[Matplotlib-users] Appending values to bar graphs

2008-02-04 Thread Andy Cheesman
Hi people, I'm producing a bar graph and was wondering if there is an easy method for displaying the absolute value of each column on the graph, next to the relevant column Thanks Andy - This SF.net email is sponsored b

Re: [Matplotlib-users] stix fonts don't work with ghostscript

2008-02-04 Thread Bernhard Voigt
Hi Michael! Thanks a lot, I've applied the changes to mathtext in my installation and it works now! Bernhard On Feb 1, 2008 8:16 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Well, this is a really good puzzle. > > I think the difference in ghostscript versions is a red herring. > Ghostscr

Re: [Matplotlib-users] Can I change placement of X-Axis?

2008-02-04 Thread Mark Bakker
John - My version of mpl (0.90.1) only has a function ax.xaxis.get_ticklocs(), not ax.xaxis.get_majorticklocs(). New feature? Mark On Feb 2, 2008 10:27 PM, John Hunter wrote: > Send Matplotlib-users mailing list submissions to >matplotlib-users@lists.sourceforge.net > > To subscribe or un