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
> 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
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
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
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
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
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:
>
... 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
---
> 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
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
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
> _
> [...] 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
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:
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
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
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
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
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
______
> 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
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
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
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.
>
>
>
> 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
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
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
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
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
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
_
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Chloe Lewis
Ecosystem Sciences, P
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
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
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
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
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
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
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
36 matches
Mail list logo