Re: [Matplotlib-users] Multiple Projections On Same Axes

2015-06-30 Thread T J
it addresses most needs. Ben Root On Mon, Jun 29, 2015 at 6:00 PM, T J tjhn...@gmail.com wrote: When I read the transformations documentation: http://matplotlib.org/devel/add_new_projection.html#creating-a-new-projection it seems like each projection is tied to an Axes instance. How might I

[Matplotlib-users] Clipping Contours

2012-10-16 Thread T J
I'm interested in clipping the result of plt.contour (and plt.contourf) to a patch. However, QuadContourSet does not have a set_clip_path() method. Is there a way to do this? Here is an example plot that I have generated. http://imgur.com/pybIf For the curious, it plots contours of a

Re: [Matplotlib-users] Clipping Contours

2012-10-16 Thread T J
On Tue, Oct 16, 2012 at 2:34 AM, Damon McDougall damon.mcdoug...@gmail.com wrote: On Tue, Oct 16, 2012 at 8:04 AM, T J tjhn...@gmail.com wrote: I'm interested in clipping the result of plt.contour (and plt.contourf) to a patch. However, QuadContourSet does not have a set_clip_path() method

[Matplotlib-users] Missing Segments in Output of imshow()

2012-02-08 Thread T J
Hi, I am experiencing missing segments in the output of imshow(). I draw a slowly growing line in an array, and then display it. The line is continuous but in the output, there are segments missing from it. Of course, if I zoom into the picture (before saving to output), then I can see the

[Matplotlib-users] Change hatch intensity/color for PDF backend

2011-04-25 Thread T J
I am using the PDF backend and specifying a hatch for a fill_between() call. The resultant PDF looks okay, but the hatch lines are too light. Is there a way to darken them? Also, is it possible to change the color of the hatch lines? I'm okay solutions that are low-level hacks. I just need the

Re: [Matplotlib-users] Change hatch intensity/color for PDF backend

2011-04-25 Thread T J
On Mon, Apr 25, 2011 at 1:15 PM, T J tjhn...@gmail.com wrote: I am using the PDF backend and specifying a hatch for a fill_between() call.  The resultant PDF looks okay, but the hatch lines are too light. Is there a way to darken them?  Also, is it possible to change the color of the hatch

[Matplotlib-users] GraphicsArray

2011-03-31 Thread T J
Any chance matplotlib can get functionality similar to GraphicsArray in Mathematica? It'd be nice to make a single method to draw whatever you want and then do this in a list comprehension. At the end, you can arrange all those plots however you want. It looks like Sage has implemented

[Matplotlib-users] imshow only half of each unit

2011-03-08 Thread T J
imshow fills an entire unit in the grid. I'd like to overlay two imshow's on top of each other, but in a non-destructive manner. One way of doing this would be to modify the behavior of imshow so that it only fills a portion of each unit in the grid. For example, in the first imshow, I'd fill

Re: [Matplotlib-users] interpolation and colormaps, over and under colors

2010-05-28 Thread T J
On Thu, May 27, 2010 at 5:44 PM, Eric Firing efir...@hawaii.edu wrote: You can't do this via any manipulation of the colormap, or any fancier colormap specification--instead, you have to manipulate the data value.  For example, you could identify the over values in your data, and then use 2-D

[Matplotlib-users] interpolation and colormaps, over and under colors

2010-05-27 Thread T J
Hi, I am plotting with imshow() and interpolation is turned on ('gaussian'). Part of my issue is that the distribution of values is such that I need to set the over/under colors to grab the most relevant values. If I set the over color to be the maximum color, then the result is too dark.

Re: [Matplotlib-users] interpolation and colormaps, over and under colors

2010-05-27 Thread T J
On Thu, May 27, 2010 at 3:23 PM, Eric Firing efir...@hawaii.edu wrote: I'm not sure I understand the problem; could you provide a tiny example to illustrate? Sure, let me focus just on the interpolation and I'll leave the filtering issue out. In the script below, I plot a 3x3 array with the

[Matplotlib-users] Finding fonts

2010-05-26 Thread T J
When I plot, I get: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to Bitstream Vera Sans (prop.get_family(), self.defaultFamily[fontext])) My matplotlibrc file has: font.sans-serif: Computer Modern Sans Serif font.serif: Computer Modern Roman font.monospace:

Re: [Matplotlib-users] Transparent figures no longer working

2010-04-30 Thread T J
On Fri, Apr 30, 2010 at 1:55 AM, Eric Firing efir...@hawaii.edu wrote: I don't see this in the version as I changed it in svn r8282.  Are you sure you installed and built from svn after I made the change?  Using the attached script,  I get the two attached (gzipped) eps files. The first with

Re: [Matplotlib-users] Transparent figures no longer working

2010-04-28 Thread T J
On Mon, Apr 26, 2010 at 12:28 PM, T J tjhn...@gmail.com wrote: On Mon, Apr 26, 2010 at 12:01 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: Looking at the code, the transparent option set alphas of paches to 0, which I think is simply ignored in ps backend (which does not support alpha). I think

[Matplotlib-users] Transparent figures no longer working

2010-04-26 Thread T J
Not sure when this occurred, but I just updated to the latest SVN and still see the issue: I am no longer able to save transparent figure---specifically, I need no patch drawn for the figure and axis when saving to EPS. savefig('test.eps', transparent=True) The above should work, but it

Re: [Matplotlib-users] Transparent figures no longer working

2010-04-26 Thread T J
On Mon, Apr 26, 2010 at 12:01 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: Looking at the code, the transparent option set alphas of paches to 0, which I think is simply ignored in ps backend (which does not support alpha). I think it is better if the visibility of patches is set to False when

Re: [Matplotlib-users] half-filled markers, two-colors

2010-02-15 Thread T J
On Mon, Feb 15, 2010 at 5:22 PM, John Hunter jdh2...@gmail.com wrote: Very nice and thorough work.  I think this should be included, but I'll wait to hear from other developers before committing.  Could you confirm that the unit tests pass? import matplotlib matplotlib.test() Confirmed on

[Matplotlib-users] Trouble gridding irregularly spaced data

2010-02-15 Thread T J
Hi, I'm trying to grid irregularly spaced data, such that the convex hull of the data is not rectangular. Specifically, all my data lies in an equilateral triangle inside the unit circle. I found: http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data and tried the

[Matplotlib-users] half-filled markers, two-colors

2010-02-14 Thread T J
I ran across: http://old.nabble.com/half-filled-markers-td24003576.html The name fillstyle can give the wrong impression about what is being filled. For example, see the comment here: http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg13074.html It's probably too

[Matplotlib-users] Pluggable Backends

2009-07-08 Thread T J
Are matplotlib backends pluggable? That is, can package X provide an experimental backend and tell matplotlib to use it? If so, how? -- Enter the BlackBerry Developer Challenge This is your chance to win up to

[Matplotlib-users] fill_between

2009-04-30 Thread T J
Fill between is for filling between two y-values over a range of x-values. Is there anything which fills between to x-values over a range of y-values? -- Register Now Save for Velocity, the Web Performance Operations

[Matplotlib-users] All CM fonts

2009-01-12 Thread T J
Hi, my matplotlibrc file is: backend : GTKAgg text.usetex : True text.latex.preview : True ps.usedistiller : xpdf However, when I create images, regular text is not in the CM font. When checking the fonts in a pdf viewer, I get: CM12, Type 1, Embedded NimbusSanL-Regu, Type 1, Embedded So

[Matplotlib-users] Consist Symbols/Sizes between Plot/Scatter

2008-06-12 Thread T J
I am making a scatter plot and want the legend to display the symbols. This functionality doesn't seem to exist, so I have followed the workaround outlined here: http://www.nabble.com/Legend-for-a-scatter-plot-based-on-symbols-td17554839.html#a17554839 Are there any plans to make the symbols

[Matplotlib-users] pstricks backend?

2008-06-09 Thread T J
Hi, I use pstricks frequently, and it has provided an alpha channel (provided we eventually use ps2pdf). With matplotlib, when I save to eps, I lose all transparency (understandable), but I wonder if it is possible to export the picture as a bunch of pstricks commands, which, after using ps2pdf,