Re: [Matplotlib-users] plotting disjoint horizontal lines

2009-07-13 Thread Chloe Lewis
l prize details at: http://p.sf.net/sfu/Challenge___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Chloe Lewis Graduate student, Amundson Lab Division of Ecosy

Re: [Matplotlib-users] setting axis limits

2009-07-15 Thread Chloe Lewis
> Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users Chloe Lewis Graduate student, Amundson Lab Division of Ecosystem Sciences, ESPM University of California, Berkeley 137 Mulford Hall - #3114 Berkeley, CA 94720-3114 chle...@natur

Re: [Matplotlib-users] Color Map

2009-07-20 Thread Chloe Lewis
e BlackBerry Developer Challenge. See > full prize > details at: http://p.sf.net/sfu/Challenge > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Re: [Matplotlib-users] Newbie problem using csv2rec

2009-08-21 Thread Chloe Lewis
27;?', '?', '?', '?', '?') > ) > > > So I think I see what is going on. Rather than taking each line of > the input file as a record it is taking each column as a record. > Since I said there are ten values per record i

Re: [Matplotlib-users] Three-Phase-Diagrams with matplotlib

2009-08-24 Thread Chloe Lewis
bj-july > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users Chloe Lewis Graduate student, Amundson Lab Division of Ecosystem Sciences, ESP

Re: [Matplotlib-users] Setting size of subplot

2009-10-05 Thread Chloe Lewis
You will probably want to add axes explicitly (not with subplot), e.g. fig.add_axes([.1,.1,.71,.8]) specifies the coordinates of one corner and the width and height (in proportions of the figure size). When doing this explicitly, you will probably need to do some extra adjustments to fit the

Re: [Matplotlib-users] variable line color in plots

2009-10-14 Thread Chloe Lewis
I use a scatterplot with enough points to overlap into a line. Works best with alpha=0.5 or thereabouts; I generally overplot with a dashed B&W line to make the legend understandable. Probability that there is a more elegant way: high. &C On Oct 14, 2009, at 9:23 AM, Devin Silvia wrote: >

Re: [Matplotlib-users] Circular colormaps

2009-11-09 Thread Chloe Lewis
... and for dessert, is there a circular colormap that would work for the colorblind? My department is practicing presenting-science-for-the-general-public, and the problems 'heat maps' have for the colorblind keep coming up. handy: http://konigi.com/tools/submissions/color-deficit-simulators

Re: [Matplotlib-users] Retake control of colorbar?

2010-02-11 Thread Chloe Lewis
--- > SOLARIS 10 is the OS for Data Centers - provides features such as > DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > ___ > Matpl

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

2010-02-15 Thread Chloe Lewis
wrote: > ...maybe dividing the markers up into 2, 3, or 4 sections would be > useful too. > ... There's a gallery example doing that in general, making pie-charts out of the markers: http://matplotlib.sourceforge.net/examples/api/scatter_piecharts.html although I think my demo of it shows

Re: [Matplotlib-users] grey scale line plots

2010-03-09 Thread Chloe Lewis
arallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _

Re: [Matplotlib-users] grey scale line plots

2010-03-10 Thread Chloe Lewis
> [...] I deduce from your approach that there is nothing > built in. I am surprised [...] When you mentioned it, so was I. From axes.py: def set_default_color_cycle(clist): """ Change the default cycle of colors that will be used by the plot command. This must be called

Re: [Matplotlib-users] plot a lambda function?

2010-03-10 Thread Chloe Lewis
You'd always have to specify the domain, so plot(map(lambda x:x**2, range(1,10))) shouldn't be much longer than the minimal command. &C On Mar 10, 2010, at 10:12 AM, max ulidtko wrote: > Hi. > > Is it possible to plot arbitrary lambda function with matplotlib? > Say, if i have f = lambda x:

Re: [Matplotlib-users] plot a lambda function?

2010-03-10 Thread Chloe Lewis
hat the second argument is a function rather than a list? &C On Mar 10, 2010, at 10:47 AM, Chloe Lewis wrote: > You'd always have to specify the domain, so > > plot(map(lambda x:x**2, range(1,10))) > > shouldn't be much longer than the minimal command. > > &a

Re: [Matplotlib-users] ask.scipy.org is online

2010-03-18 Thread Chloe Lewis
u/intel-sw-dev___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users Chloe Lewis Graduate student, Amundson Lab Ecosystem Sciences 137 Mulford Hall Berkeley, CA 94720

Re: [Matplotlib-users] Making a data-driven colormap

2010-03-27 Thread Chloe Lewis
To zoom in on the relevant section of a colorbar -- I convinced myself once that I'd need an auxiliary function to define a new cdict that covers only the current section of the original cdict. (and then define a new colorbar from the cdict, and maybe do a little norming of the data). _seg

Re: [Matplotlib-users] Making a data-driven colormap

2010-03-28 Thread Chloe Lewis
subset, cmap=scb) p.colorbar() p.subplot(122) p.scatter([2,3,4],[2,3,4],s=49, c =[.001, .5, .99], cmap=cm.jet) p.colorbar() p.show() On Mar 27, 2010, at 11:52 PM, Chloe Lewis wrote: > To zoom in on the relevant section of a colorbar -- I convinced myself > once that

Re: [Matplotlib-users] Making a data-driven colormap

2010-03-30 Thread Chloe Lewis
But this example doesn't solve the problem I was thinking of: it shows lots of colors in the colorbar that aren't used in the plot. &C On Mar 30, 2010, at 6:52 AM, Friedrich Romstedt wrote: > 2010/3/30 Ariel Rokem : >> I ended up with the code below, using Chloe's previously posted >> 'subc

Re: [Matplotlib-users] Cmap creation

2010-04-01 Thread Chloe Lewis
______ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users Chloe Lewis Graduate student, Amundson Lab Ecosystem Sciences 137 Mulford Hall Berkeley, CA 94720-3114 http://natur

Re: [Matplotlib-users] get_*gridlines alwys returns the same things?

2010-05-05 Thread Chloe Lewis
I got curious and looked for the grid command in matplotlib/axes.py. Looks like an inherited-from-Matlab thing. In the cla (clear axis) function of the Axes class: self._gridOn = rcParams['axes.grid'] #... self.grid(self._gridOn) and grid() passes its argument on to

Re: [Matplotlib-users] how to express statistical data in colors

2012-10-26 Thread Chloe Lewis
Chloe Lewis PhD candidate, Harte Lab Division of Ecosystem Sciences, ESPM University of California, Berkeley 137 Mulford Hall Berkeley, CA 94720 chle...@berkeley.edu Begin forwarded message: > From: Chloe Lewis > Subject: Re: [Matplotlib-users] how to express statistical data in

Re: [Matplotlib-users] how to express statistical data in colors

2012-11-05 Thread Chloe Lewis
lue towards > black the more values are in the same area. > For this, I guess, I have to set a x for each value (and three x since > the color is calculated using RGB). And the closer it is to the previous > one the more I have to calculate the color between blue and black. > >

Re: [Matplotlib-users] how to express statistical data in colors

2012-11-07 Thread Chloe Lewis
> > I think a histogram isn't the thing I need because it is not important > when (the time) the values between 60 and 90 have been "created". Only > the values and the amount of values is important. You can make the values the independent axis of the histogram. > > Also when talking about a col

Re: [Matplotlib-users] plot_surface does not work

2012-12-11 Thread Chloe Lewis
Would it be workable for the default to be proportional to the size of the array passed in? (suggested only because I do that myself, when deciding how coarse an investigative plot I can get away with.) &C On Dec 11, 2012, at 9:28 AM, Benjamin Root wrote: > > > On Tue, Dec 11, 2012 at 12:1

Re: [Matplotlib-users] Show() in emacs

2010-05-26 Thread Chloe Lewis
ly ever use show() at all, but rather savefig(), with a file-directory window showing me the results as I go. If that doesn't work for you, the experts probably need a more precise bug report to figure out what would. Chloe Lewis Grad student, ESPM, UC Berkeley On May 25, 2010, at 8:40

Re: [Matplotlib-users] Labeling/distinguishing lots of curves on a single plot

2010-08-23 Thread Chloe Lewis
And if you have mutually prime numbers of colors, linestyles, widths, you can automatically generate more distinct lines than I can distinguish... If there's any wxcuse for treating them as a series, I replot when I know how many I have, and space the colors through a colorbar. &C Away from hom

Re: [Matplotlib-users] Ternary Plotting using Matplotlib

2010-09-15 Thread Chloe Lewis
ike having all three axes labeled. Note: many versions get one of the axes backwards.) &C On Sep 15, 2010, at 8:38 AM, Uri Laserson wrote: > I believe that Chloe Lewis may have posted about this before. She > has code for doing some ternary plotting type stuff that may be a > go

Re: [Matplotlib-users] citation of mpl

2010-09-23 Thread Chloe Lewis
Well, I had my bib program open, so here are a couple formats: Everything.bibBibDesk117Hunter, John D.Matplotlib: A 2D graphics environmentComputing In Science \& Engineering9390--9510662 LOS VAQUEROS CIRCLE, PO BOX 3014, LOS ALAMITOS, CA 90720-1314 USAIEEE COMPUTER SOCEditorial Material2007May-J

Re: [Matplotlib-users] Images as markers in matplotlib?

2010-09-24 Thread Chloe Lewis
_ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users Chloe Lewis Ecosystem Sciences, P

Re: [Matplotlib-users] Two sets of ticks on a single colorbar?

2010-11-15 Thread Chloe Lewis
ware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-u

Re: [Matplotlib-users] How to plot a set of line segments

2010-12-10 Thread Chloe Lewis
You can plot them all individually; e.g. rec = ([1,2,.5], [0.5, 3, 1.1], [5, 7, .2]) for r in rec: pylab.plot( r[:2], [r[2]]*2) On Dec 10, 2010, at 12:13 PM, John Salvatier wrote: > I have a set of records with (start, end, value) values. Basically > they represent "we had this value betw

Re: [Matplotlib-users] Figure titles and subplot titles

2007-06-21 Thread Chloe Lewis
and a quick sample (not suptitle, but using subplots_adjust): import pylab as p p.figtext(0.5,0.9,'Big Old Title', ha='center') p.subplots_adjust(top=0.8) p.subplot(1,2,1) p.title('Lefthand') p.plot([4,3,2,1]) p.subplot(1,2,2) p.title('Righthand') p.plot([3,3,1,3]) On Jun 21, 2007, at 21 Jun,2:1

[Matplotlib-users] Transforms examples

2008-03-07 Thread Chloe Lewis
Any current transforms examples? The transforms docs suggest looking in /units for transforms examples; the current matplotlib examples has /units without transforms. (I want something a bit more detailed than the offset.) If the transforms are currently too much in flux, I'll do something

Re: [Matplotlib-users] can matplotlib make a plot like this?

2006-10-20 Thread Chloe Lewis
I don't know how to make the "//" symbol in the y-axis, but if you have two plots that share the same x-axis, you can represent this kind of data. The "Working with multiple figure and axes" section of the tutorial http://matplotlib.sourceforge.net/tutorial.html is almost right; if you turn

Re: [Matplotlib-users] can matplotlib make a plot like this?

2006-10-23 Thread Chloe Lewis
I was thinking of something like this - it isn't pretty, but it does get all the data on the page. import pylab # Annoying-to-plot data data=[1]*100 + [2]*3 + [3]*2+ [4]*3 + [5] # Make a histogram out of the data in x and prepare a bar plot. top = pylab.subplot(211) vals, bins, patchs = pylab

Re: [Matplotlib-users] standardizing x-axes in hist

2006-11-01 Thread Chloe Lewis
Once the axes are the same, can one get the actual bars to align? hist () arranges them to look well in their original ranges, so they don't line up together, AFAICT: #plotting barcharts w/different ranges on same axis import pylab a = [1]*2 + [2]*3 + [3]*4 b = [3]*1 + [4]*2 + [5]*3 allim = (mi