[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

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

Re: [Matplotlib-users] PS backend

2009-01-20 Thread Paul Novak
. 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') import matplotlib.pyplot as plt import numpy x1 = numpy.arange(0,5) y1 = x1 plt.plot(x1, y1

[Matplotlib-users] PS backend

2009-01-19 Thread Paul Novak
(FontName currentdict end definefont pop); -stream.putline(%%EOF); } /* end of ttfont_trailer() */ /*-- Paul Novak ps_backend.ps Description: PostScript document inline: incorrect_rendering.png

[Matplotlib-users] PS output

2009-01-08 Thread Paul Novak
() */ /*-- Paul Novak inline: screenshot.png ps_backend.ps Description: PostScript document -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services

[Matplotlib-users] Tick formatting

2009-01-07 Thread Paul Novak
to 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('voltage (mV)') plt.show

Re: [Matplotlib-users] Tick formatting

2009-01-07 Thread Paul Novak
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 notation used on the y-axis is missing a multiplication symbol, as seen in the figure. My matplotlibrc file

[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,

[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

Re: [Matplotlib-users] usetex=True

2008-01-15 Thread Paul Novak
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. Cheers, Mike Paul Novak wrote: Hello, I am trying to use the PS backend to make some

Re: [Matplotlib-users] usetex=True

2008-01-15 Thread Paul Novak
Paul Novak wrote: Mike, Thank you for handling the PS backend issues. Below is an email I sent earlier about an updated patch for fixing legends with numpoints=1; I didn't get any response probably because of my delay in responding. If I should restart this thread on the mailing list, I can

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

[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

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 spaced data demo on the wiki http