Re: [Matplotlib-users] Unused matplotlibrc parameter

2009-06-17 Thread Paul Novak
Pardon me, but I was hasty in sending the diff. The following diff will put a multiplication symbol in the tick label where large numbers are expected, but it also removes any possibility of getting a number written as 1e10, for example, so it definitely is not complete. Hopefully, this is a st

[Matplotlib-users] Unused matplotlibrc parameter

2009-06-17 Thread Paul Novak
Hello, I think there is an unused parameter in matplotlibrc, the text.markup which defaults to 'plain'. text.markup is not found in rcsetup.py. Similarly, there is a keyword to ScalarFormatter, useMathText, that is always set to its default, False, in ticker.py; no other function accesses or u

Re: [Matplotlib-users] PS backend

2009-01-20 Thread Paul Novak
ting it myself. > > Paul Novak wrote: >> Hello, >> >> I am having some problems with the PS backend. I used the following >> script to create a PostScript file >> >> #!/usr/bin/env python >> import matplotlib >> matplotlib.use('PS')

[Matplotlib-users] PS backend

2009-01-19 Thread Paul Novak
stood. */ stream.putline("FontName currentdict end definefont pop"); -stream.putline("%%EOF"); } /* end of ttfont_trailer() */ /*------ Paul Novak

[Matplotlib-users] PS output

2009-01-08 Thread Paul Novak
ine("FontName currentdict end definefont pop"); -stream.putline("%%EOF"); } /* end of ttfont_trailer() */ /*-- Paul Novak <> ps_backend.ps Description: PostScript document --

Re: [Matplotlib-users] Tick formatting

2009-01-07 Thread Paul Novak
e. As it stands, it appears > (unless my grepping search has been wrong) the only way to get this > behavior is by modifying the matplotlib source. Not ideal ;) > > Mike > > Paul Novak wrote: >> Hello, >> >> Using the following simple script, the scientific no

[Matplotlib-users] Tick formatting

2009-01-07 Thread Paul Novak
have useMathText = True by default, so the scientific notation would use a superscript and not '1e7'. Paul Novak --- import matplotlib.pyplot as plt import numpy as np t = np.arange(0.0, 4.0) s = 2.0e7*t plt.plot(t, s, linewidth=1.0) plt.xlabel(r'time (s)') plt.ylabel(

[Matplotlib-users] Compound paths

2008-09-02 Thread Paul Novak
Are there any more examples of matplotlib's new path functionality, in addition to the one in examples/api/path_patch_demo.py? Specifically, I would like an example of using compound paths to draw a donut-shape that shows the inner and outer edge and fills the donut with a color. Thank you, Pau

Re: [Matplotlib-users] usetex=True

2008-01-15 Thread Paul Novak
ade it a > local variable to _get_handles and recreate it separately for each > handle. There's no reason to try to share something so small, and it > just feels safer (fewer potential side effects) that way. > > I've committed this in r4871. Please check it out and kick

Re: [Matplotlib-users] usetex=True

2008-01-15 Thread Paul Novak
red ticks. Paul Michael Droettboom wrote: > It's a bug. It's now possible for rgba colors to make their way all the > way down to that level, so the code needs to truncate that to rgb (Ps > can't handle alpha anyway). > > This is committed in SVN r4869. >

[Matplotlib-users] usetex=True

2008-01-15 Thread Paul Novak
Hello, I am trying to use the PS backend to make some simple line plots, using the following script, but I get the error messages included below when I try to plot with usetex=True. I have also included the output from --verbose=helpful. I am using the current SVN, and I don't recall having th

Re: [Matplotlib-users] [PATCH] Legend with numpoints = 1

2008-01-09 Thread Paul Novak
Included below is an updated patch fixing the legend with numpoints=1. The patch has been made against SVN and works for Line2D, LineCollection, Patch, and RegularPolyCollection. The patch could be merged. I also think the patch could be improved. Currently, handle._marker is examined to determ

Re: [Matplotlib-users] Masked nan

2006-12-21 Thread Paul Novak
Adding the line numeric: numpy to my matplotlibrc file fixed the problem. Thanks, Paul Darren Dale wrote: > On Thursday 21 December 2006 13:43, Jeff Whitaker wrote: >> Paul Novak wrote: >>> I have a problem that arose when I tried to run the gridding irregularly >>> s

[Matplotlib-users] Masked nan

2006-12-21 Thread Paul Novak
I have a problem that arose when I tried to run the gridding irregularly spaced data demo on the wiki http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data When I run the attached script, which sets one value of an array to nan, masks the array where there are nan, and tries

[Matplotlib-users] Missing links on website

2006-12-21 Thread Paul Novak
I don't know if this is right place to post this, but there are several missing links on the matplotlib website. For example, all the links from the http://matplotlib.sourceforge.net/matplotlib.numerix.html page are missing. Those links include http://matplotlib.sourceforge.net/matplotlib.numerix.l