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:17

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 colormap

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

2012-11-05 Thread Chloe Lewis
way to implement this? I do not know of any other software that this issue has been implemented. cheers! On 10/26/2012 07:47 PM, Chloe Lewis wrote: you'll be doing something like the second color bar, but making the boundary and color definitions a lot more flexible. Where the discrete

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 chle...@berkeley.edu Subject: Re: [Matplotlib-users] how to express statistical

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

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

2010-11-15 Thread Chloe Lewis
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-users Chloe Lewis

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

2010-09-24 Thread Chloe Lewis
://lists.sourceforge.net/lists/listinfo/matplotlib-users Chloe Lewis Ecosystem Sciences, Policy and Management, UC Berkeley 137 Mulford Hall Berkeley, CA 94720-3114 http://nature.berkeley.edu/~chlewis -- Start uncovering the many

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:?xml version=1.0 encoding=UTF-8? xml records recorddatabase name=Everything.bib path=/Users/chlewis/Documents/svn/chlewis/Everything.bibEverything.bib/databasesource-app name=BibDesk

Re: [Matplotlib-users] Ternary Plotting using Matplotlib

2010-09-15 Thread Chloe Lewis
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 good place to start for you: http

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

2010-08-24 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

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

2010-05-26 Thread Chloe Lewis
, 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 PM, Ted Rosenbaum wrote: Hi, I am

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

Re: [Matplotlib-users] Cmap creation

2010-04-01 Thread Chloe Lewis
. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users Chloe Lewis Graduate

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 aro...@berkeley.edu: I ended up with the code below, using Chloe's previously

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

2010-03-28 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).

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

2010-03-28 Thread Chloe Lewis
, 2010, at 11:52 PM, Chloe Lewis wrote: 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

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

2010-03-18 Thread Chloe Lewis
-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-3114 http

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] grey scale line plots

2010-03-09 Thread Chloe Lewis
. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users Chloe Lewis Graduate

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

2010-02-15 Thread Chloe Lewis
phob...@geosyntec.com 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

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:

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 BW 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] 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] Three-Phase-Diagrams with matplotlib

2009-08-24 Thread Chloe Lewis
://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...@nature.berkeley.edu

Re: [Matplotlib-users] Newbie problem using csv2rec

2009-08-21 Thread Chloe Lewis
with Crystal Reports now. http://p.sf.net/sfu/bobj-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

Re: [Matplotlib-users] Color Map

2009-07-20 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 Division of Ecosystem Sciences, ESPM University of California, Berkeley 137 Mulford Hall

Re: [Matplotlib-users] setting axis limits

2009-07-15 Thread Chloe Lewis
the 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 Chloe Lewis Graduate

Re: [Matplotlib-users] plotting disjoint horizontal lines

2009-07-13 Thread Chloe Lewis
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 Ecosystem Sciences, ESPM

[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] 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 =

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 off