Re: [Matplotlib-users] Connecting an arbitrary list of points

2011-08-26 Thread Stan West
From: ben.v.r...@gmail.com [mailto:ben.v.r...@gmail.com] On Behalf Of Benjamin Root Sent: Friday, August 26, 2011 13:11 Actually, that might be useful. The current solution I have is to use the core contouring function in mpl to generate paths, but they doesn't seem to guarantee either clockwise

Re: [Matplotlib-users] Connecting an arbitrary list of points

2011-08-26 Thread Benjamin Root
On Friday, August 26, 2011, Stan West wrote: > From: Benjamin Root [mailto:ben.r...@ou.edu] > Sent: Friday, August 19, 2011 13:43 > > I have an arbitrary list of coordinates that I know represent the boundary of a polygon. Is there some sort of function from the contouring or path codes that woul

Re: [Matplotlib-users] Connecting an arbitrary list of points

2011-08-26 Thread Stan West
From: Benjamin Root [mailto:ben.r...@ou.edu] Sent: Friday, August 19, 2011 13:43 I have an arbitrary list of coordinates that I know represent the boundary of a polygon. Is there some sort of function from the contouring or path codes that would allow me to pass in that list and get back the re

Re: [Matplotlib-users] Details regarding TeX interpreter for different backends

2011-08-26 Thread Jouni K . Seppänen
Michael Droettboom writes: > The other approach is used when "text.usetex" is True. It calls out > to a real "tex" interpreter and then interprets the DVI it produces to > convert it into a form the matplotlib backends can use. Since I > didn't write this code, I'm not as familiar with the deta

Re: [Matplotlib-users] working with ticklabels text in matplolib

2011-08-26 Thread Sebastian Berg
Hi, On Fri, 2011-08-26 at 06:09 -0700, a.sam wrote: > I have a problem with changing the ticklabels text. In fact I am aware of the > method which is explained by the matplotlib help center. But I need more > flexibility with ticklabels text. You could set the formatter yourself instead of manipu

Re: [Matplotlib-users] working with ticklabels text in matplolib

2011-08-26 Thread Benjamin Root
On Friday, August 26, 2011, a.sam wrote: > > I have a problem with changing the ticklabels text. In fact I am aware of the > method which is explained by the matplotlib help center. But I need more > flexibility with ticklabels text. > For example, I want to add an "a" before every tick label of t

Re: [Matplotlib-users] Details regarding TeX interpreter for different backends

2011-08-26 Thread Michael Droettboom
On 08/26/2011 02:32 AM, Ole Jacob Hagen wrote: Hi, I'm about to implement a TeX interpreter for the graphical backend to GNU Octave (http://www.octave.org). The rendering is in OpenGL context. As I understand it, matplotlib doesn't use OpenGL at all? Not at present -- though various people a

Re: [Matplotlib-users] How do you Plot data generated by a python script?

2011-08-26 Thread Jonny Milliken
You could always just save it as a list and then plot from there? The average calculation is a bit redundant though, I'm sure theres a better way of doing it import pylab import numpy >>f = open( 'myfile.txt','r') mass_store =[] >>for line in f: >>if line != ' ': >> line = line.strip() # St

[Matplotlib-users] working with ticklabels text in matplolib

2011-08-26 Thread a.sam
I have a problem with changing the ticklabels text. In fact I am aware of the method which is explained by the matplotlib help center. But I need more flexibility with ticklabels text. For example, I want to add an "a" before every tick label of the xaxis. So I wrote the following sample code: #--

[Matplotlib-users] Plot points over collection?

2011-08-26 Thread Katie Boyle
Hi, I create a collection item, add it to the current axis, and try to plot data points over it but the points do not show up. Here is my code: fig = plt.figure(figsize=(10,10)) ax = fig.gca() bb_collect = beachball.Beach([strike,dip,rake], linewidth=0.4, facecolor='gray', bgcolor='w'