Re: [Matplotlib-users] CMYK

2013-01-30 Thread Jae-Joon Lee
I agree with Eric that what we need is a backend that support CMYK color space. But matplotlib may need to provide some framework for handling the color profiles etc. My limited experience with ps_myck backend ( https://github.com/leejjoon/mpl_ps_cmyk) suggests that, as far as matplotlib provide s

[Matplotlib-users] custom_scale_example.py

2013-01-30 Thread ztftom
Something wrong with the figure in the gallery: custom_scale_example.py It's supposed to be a Mercator scale, but the figure shown is just a linear scale plot.I also attached my plot.

Re: [Matplotlib-users] matplotlib.nxutils.pnpoly returns True for some vertexes, and False for others

2013-01-30 Thread Maria Liukis
Ben, Many thanks! Will try to use shapely package then. Masha liu...@usc.edu On Jan 30, 2013, at 6:59 AM, Benjamin Root wrote: > > > On Tue, Jan 29, 2013 at 5:55 PM, Maria Liukis wrote: > Hello, > > I tested the following code on my Mac laptop and our production Linu

[Matplotlib-users] Problem with PatchCollection and FancyArrowPatch?

2013-01-30 Thread Skipper Seabold
Hi, Trying to figure out why these two do not create the same plot. Bug or user error? import matplotlib.pyplot as plt from matplotlib.patches import FancyArrowPatch from matplotlib.collections import PatchCollection def correct_patch(pos): fig, ax = plt.subplots() for src, dst in pos:

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Eric Firing
On 2013/01/30 9:13 AM, Paul Kuin wrote: > For what it's worth. > > While the RGB system is native to monitor devices, since they produce > light of certain colours, CMYK is the colour system of printer > materials etc. since they absorb the colours, but reflect those we > see. That means designs m

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Paul Kuin
For what it's worth. While the RGB system is native to monitor devices, since they produce light of certain colours, CMYK is the colour system of printer materials etc. since they absorb the colours, but reflect those we see. That means designs must be made in CMYK for pronter materials and in RG

Re: [Matplotlib-users] FigureCanvasQTAgg clean up

2013-01-30 Thread Benjamin Root
On Wed, Jan 30, 2013 at 1:46 PM, Mads Ipsen wrote: > On 01/30/2013 05:03 PM, Benjamin Root wrote: > > > > On Tue, Jan 29, 2013 at 5:12 PM, Mads Ipsen wrote: > >> Hi, >> >> I spend some time writing up the question below on Stackoverflow which >> immediately was closed as a duplicate of other p

Re: [Matplotlib-users] Plot with a shared y axis with two different x axes oriented in opposite directions.

2013-01-30 Thread Jonathan Slavin
Hi Darhas, How did you invert the axis? I find that it works for me to do: ax.plot(x1,y1) ax2 = ax.twiny() ax2.plot(x2,y2) ax2.invert_xaxis() Jon On Wed, 2013-01-30 at 16:45 +, Dharhas Pothina wrote: > Hi All, > > > I'm trying to recreate some plots from a old 1970's era report. This > is

Re: [Matplotlib-users] FigureCanvasQTAgg clean up

2013-01-30 Thread Mads Ipsen
On 01/30/2013 05:03 PM, Benjamin Root wrote: On Tue, Jan 29, 2013 at 5:12 PM, Mads Ipsen > wrote: Hi, I spend some time writing up the question below on Stackoverflow which immediately was closed as a duplicate of other posts. To my best knowledge

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Eric Firing
On 2013/01/30 6:43 AM, Michael Droettboom wrote: > We don't currently have any support -- and we're still struggling in > certain areas supporting RGBA consistently across the system. > > I think this would take someone writing a MEP (as a preliminary study of > all of the changes that would be inv

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Michael Droettboom
We don't currently have any support -- and we're still struggling in certain areas supporting RGBA consistently across the system. I think this would take someone writing a MEP (as a preliminary study of all of the changes that would be involved) and then shepherding it through implementation.

Re: [Matplotlib-users] CMYK

2013-01-30 Thread Ignas Anikevičius
On 29/01/13 03:37:51 -0800, Dieter wrote: > I was wondering if anything changed regarding this within the last 2.5 years > since the last thread. Is there a way to produce CMYK with matplotlib? Hello everybody, I would be also interested in how to produce CMYK graphics without external fiddling.

Re: [Matplotlib-users] FigureCanvasQTAgg clean up

2013-01-30 Thread Benjamin Root
On Tue, Jan 29, 2013 at 5:12 PM, Mads Ipsen wrote: > Hi, > > I spend some time writing up the question below on Stackoverflow which > immediately was closed as a duplicate of other posts. To my best knowledge, > these posts did not answer my questions - so I'll try my luck here instead: > > I am

Re: [Matplotlib-users] matplotlib.nxutils.pnpoly returns True for some vertexes, and False for others

2013-01-30 Thread Benjamin Root
On Tue, Jan 29, 2013 at 5:55 PM, Maria Liukis wrote: > Hello, > > I tested the following code on my Mac laptop and our production Linux > server both running matplotlib V1.0.1. Both machines observe the same > output from the code, so I was wondering if somebody is aware of the > problem or if it

Re: [Matplotlib-users] FancyArrowPatch to edge of marker with known size?

2013-01-30 Thread Jae-Joon Lee
On Wed, Jan 30, 2013 at 7:11 AM, Skipper Seabold wrote: > Say I have a marker with a known size in points and I want to draw an > arrow to this point. How can I get the ends points for the arrow? As you > can see in the below, it overlaps the markers. I want to go to the edge. I > can use shrinkA