Re: [Matplotlib-users] Labeling Contours

2012-02-17 Thread Eric Firing
On 02/15/2012 03:10 PM, Alexa Villaume wrote: > Hi Eric, > > Thanks for your help, I'm still really new to python and matplotlib. > I've got my labels defined but now I'm having another problem with the > formatting. > > I'm doing - > > CS1.level=[14.07, 14.27] > > plt.clabel(CS1,CS1.level[::2],inl

Re: [Matplotlib-users] Labeling Contours

2012-02-15 Thread Alexa Villaume
Hi Eric, Thanks for your help, I'm still really new to python and matplotlib. I've got my labels defined but now I'm having another problem with the formatting. I'm doing - CS1.level=[14.07, 14.27] plt.clabel(CS1,CS1.level[::2],inline=True,fmt='OIII',fontize=14) Where I get a type error that

Re: [Matplotlib-users] Labeling Contours

2012-02-15 Thread Eric Firing
On 02/15/2012 10:15 AM, Alexa Villaume wrote: > Hi Everybody, > > > I'm trying to label the contours of my contour plot following this > example - > > http://matplotlib.sourceforge.net/examples/pylab_examples/contour_label_demo.html > > > My actual code looks like this - > > > import matplotlib > >

[Matplotlib-users] Labeling Contours

2012-02-15 Thread Alexa Villaume
Hi Everybody, I'm trying to label the contours of my contour plot following this example - http://matplotlib.sourceforge.net/examples/pylab_examples/contour_label_demo.html My actual code looks like this - import matplotlib matplotlib.use('PDF') from pylab import * import numpy as np #

Re: [Matplotlib-users] labeling contours with roman numerals

2007-12-14 Thread Mark Bakker
gt; CS=contour(A,[50,]) > CS.clabel(fmt=FormatFaker('Some String')) > > > > > > > From: Michael Hearne <[EMAIL PROTECTED] > > > Subject: [Matplotlib-users] labeling contours with roman numerals > > To: Matplotlib Users > > Message-ID: <

Re: [Matplotlib-users] labeling contours with roman numerals

2007-12-14 Thread Michael Hearne
;[EMAIL PROTECTED] > Subject: [Matplotlib-users] labeling contours with roman numerals To: Matplotlib Users Message-ID: < [EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Does a LineCollection generated by contour() have a property that holds the labels? I

Re: [Matplotlib-users] labeling contours with roman numerals

2007-12-14 Thread Mark Bakker
=FormatFaker('Some String')) > > From: Michael Hearne <[EMAIL PROTECTED]> > Subject: [Matplotlib-users] labeling contours with roman numerals > To: Matplotlib Users > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii&qu

[Matplotlib-users] labeling contours with roman numerals

2007-12-13 Thread Michael Hearne
Does a LineCollection generated by contour() have a property that holds the labels? I would like to label my contour lines with roman numerals, and cannot figure out how to get clabel to do that. Thanks, Mike -- Michael Hearne [EMAIL P