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

2013-01-29 Thread Skipper Seabold
On Tue, Jan 29, 2013 at 5:11 PM, 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

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

2013-01-29 Thread Maria Liukis
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's some undocumented feature of "pnpoly()" function from matplo

[Matplotlib-users] FigureCanvasQTAgg clean up

2013-01-29 Thread Mads Ipsen
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 using the qt backengine for setting up a QWidget that embeds

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

2013-01-29 Thread Skipper Seabold
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 and shrinkB to do what I want, but I don't see how they're relate

Re: [Matplotlib-users] Plot trajectories on an map using matplotlib-basemap

2013-01-29 Thread Paul Hobson
On Mon, Jan 28, 2013 at 9:41 PM, Boris Vladimir Comi < gle...@comunidad.unam.mx> wrote: > > #! /usr/bin/python > import numpy as np > data = > np.loadtxt('path-tracks.csv',dtype=np.str,delimiter=',',skiprows=1) > print data > > [['19.70' '-95.20' '2/5/04 6:45 AM' '1' '-38' 'CCM'] >

Re: [Matplotlib-users] Baseline of TeX fonts

2013-01-29 Thread Magician
Hi JJ, Thanks for your advice. I didn't use text.usetex option, and text.latex.preview made same results. So my cases may depend on other issues. I found the problems may be happened only when I output my plots as PDF or EPS. If I output as SVG or PNG, all characters are aligned on their baselin

[Matplotlib-users] CMYK

2013-01-29 Thread Dieter
Hi all, I need to produce figures with CMYK colours, preferably vector-based. There are two old threads, one from November 2007 and one from August 2010, regarding this topic: - http://matplotlib.1069221.n5.nabble.com/rgb-versus-cmyk-tp32391.html - http://matplotlib.1069221.n5.nabble.com/CMYK-ima