> 2009/10/5 Ernest Adrogué :
> is it possible to draw unfilled scatter points?
Yes, try the following
>>> import numpy as np
>>> import matplotlib.pyplot as plt
>>> x = np.random.rand(10)
>>> y = np.random.rand(10)
>>> plt.scatter(x, y, facecolor='none')
>>> plt.show()
Also take a look at
http:/
Jae-Joon Lee wrote:
> On Mon, Oct 5, 2009 at 10:25 PM, wrote:
>
>> Jae-Joon Lee wrote:
>>
>>> As one of who never used Sage, I don't think I'll be any help here.
>>> Anyhow, can you tell us what kind of backed is used by default in the
>>> two environment? I mean the type of the canvas th
On Mon, Oct 5, 2009 at 10:25 PM, wrote:
> Jae-Joon Lee wrote:
>>
>> As one of who never used Sage, I don't think I'll be any help here.
>> Anyhow, can you tell us what kind of backed is used by default in the
>> two environment? I mean the type of the canvas that is initially
>> created.
>>
>
> T
Jae-Joon Lee wrote:
> As one of who never used Sage, I don't think I'll be any help here.
> Anyhow, can you tell us what kind of backed is used by default in the
> two environment? I mean the type of the canvas that is initially
> created.
>
Thanks for following up on this. Is there an easy wa
with hold=False, the axes is reset whenever something new is added to
the axes. Instead of using pylab.hold(False), clear the figure or axes
explicitly (clf() or cla())
-JJ
On Mon, Oct 5, 2009 at 9:58 PM, Ross Anderson wrote:
> Hi all,
>
> I'm making multiple semilogy histograms, which for now
I just want to mention that axes size in mpl, by design, is supposed
to be proportional to the figure size, so there could be cases when a
fixed-sized axes messes up something. Furthermore, using axes_grid
toolkit can be a bit tricky, so I (as an author of the axes_grid
toolkit) personally do no re
Hi all,
I'm making multiple semilogy histograms, which for now are on separate
figures and not in subplots. Here's something patched together:
def makehistogram(data,strtitle, filename):
fig = Figure()
pylab.hold(False)
pylab.semilogy(base=10)
n, bins, patches = pylab.hist(data, 50
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
Hello,
I am new to matplotlib and am having trouble understanding how to set
the size of a subplot when a figure contains multiple subplots. In
particular, I have been playing around with the scatter_hist.py demo
at http://matplotlib.sourceforge.net/examples/axes_grid/scatter_hist.html.
A simplifi
Whenever I run the statement:
from pylab import randn, hist
OR
import matplotlib.pyplot as plt
Python crashes, no error ... nothing
Running under Python 2.5
Any ideas?
___
hi all,
i am trying to install the recent matplotlib (0.99.1.1) but i am
getting an error about wxPython not being available. i thought wx is
an optional backend? in any case i would not like to use it. is there
a way to install matplotlib without?
my command was:
python setup.py install --pref
VáclavŠmilauer wrote:
> I checked the official terminology, it is a kernel average smoother
> (in the sense of [1]) with special weight function exp(-(x-x0)^2/const),
> operating on irregularly-spaced data in 2d.
>
> I am not sure if that is the same as what scipy.stats.kde.gaussian_kde does,
> th
On 2009-10-05 15:54 PM, VáclavŠmilauer wrote:
> I am not sure if that is the same as what scipy.stats.kde.gaussian_kde does,
> the documentation is terse. Can I be enlightened here?
gaussian_kde does kernel density estimation. While many of the intermediate
computations are similar, they have en
> >> about a year ago I developed for my own purposes a routine for averaging
> >> irregularly-sampled data using gaussian average.
> >
> > is this similar to Kernel Density estimation?
> >
> > http://www.scipy.org/doc/api_docs/SciPy.stats.kde.gaussian_kde.html
>
> No. It is probably closer to ra
hi,
is it possible to draw unfilled scatter points?
i want to use an unfilled 'o' marker with a dashed border to
represent the 'expected' data, as opposed to the observed data.
i can make the border dashed but haven't figured out how to
make the marker not filled.
any idea?
thanks!
--
Ernest
--
Hi everybody,
I try to move an instance of matplotlib.lines.Line2D from one subplot to
another. How to do that? I have tried the following code, but the Line2D
does not appear on the second subplot.
Thanks in advance,
Julien
###
from pylab import *
ion()
f = figure()
s = f.add_subp
For some reason, my earlier reply didn't seem to make it to the mailing
list. Here it is in its entirety:
"""
If you assign each figure to a new number, it will keep all of those
figures around in memory (because pyplot thinks you may want to use it
again.) The best route is to call close('a
Scott Sinclair wrote:
>> 2009/10/1 ringobelingo :
>> I would like to add coastlines to a map but do not want interior
>> 'coastlines'. At present, without them my continents are not distinct enough
>> from the data I am plotting in the background. But, when I draw them using
>> drawcoastlines(), I
Hi,
I think I've figured out what's going on. It's a combination of things:
1) iPython is ignorant of the problems associated with caching massive data
output
2) iPython doesn't seem to have a good way to clear data from memory
reliably (https://bugs.launchpad.net/ipython/+bug/412350)
3) matplot
19 matches
Mail list logo