set_array method only update the underlying array, and no more.
The problem is that, the first imshow results in clim=(0,0) and
set_array does not change this.
You may manually update the clim of the image, or you may explicitly
call autoscale() after set_array.
Regards,
-JJ
On Fri, May 21, 2
On 5/21/10 3:57 PM, Benjamin Root wrote:
I did some more digging and I think I have a hypothesis for what is
happening.
There is only one main difference between a call to .drawstates() and
.readshapefiles() with respect to loading and plotting data.
.drawstates() loads *only* the line segm
Andreas,
With respect to the large PDF file, while hexbin() would help in that
regards, if you need further improvement in filesize, there is a kwarg for
some plotting functions: rasterized=True. You might need to use a svn
checkout of matplotlib for it to work though, but I am dealing with the s
> You want to make a kernel density estimate (a.k.a. a "heatmap").
Thanks for the link, i'll look into it and compare it to the suggested
hexbin().
> This approach would
> likely
> be a bit slow if you have a very large number of points, though. It's
> usually less visually messy to just plot th
> From: MONTAGU Thierry [mailto:thierry.mont...@cea.fr]
> Sent: Friday, May 21, 2010 09:37
>
> has anyone ever tried to make a quantile-quantile plot with pylab?
> is there any build in function named say "qqplot" available ?
For a plot comparing samples to a theoretical distribution (and if you
Andreas,
Check out hexbin(), it is the easiest way to do what you want.
Ben Root
On Fri, May 21, 2010 at 2:52 PM, Andreas Hilboll wrote:
> Hi there,
>
> the attached figure shows a scatterplot, where the colors indicate the
> density of measurement points.
>
> Is there any way to do this with
Hi there,
the attached figure shows a scatterplot, where the colors indicate the
density of measurement points.
Is there any way to do this with matplotlib?
Thanks for your insight,
Andreas.
<>--
___
Hi,
I am trying to update the image plotted in a figure. From what I understood,
this code should do the job:
import pylab as p
image=p.zeros((20,20))
p.ion()
ax=p.imshow(image)
p.draw()
for i in range(10):
print i
p.ion()
image[i,:]=i
ax.set_array(image)
p.draw()
But the image is not u
morever
computer gets stuck for code
from multiprocessing import Process
from matplotlib.pyplot import plot, show
def plot_graph(*args):
for data in args:
plot(data)
show()
p = Process(target=plot_graph, args=([1, 2, 3],))
p.start()
print 'yay'
print 'computation continues.
On 5/21/2010 12:35 PM, Sandy Ydnas wrote:
> nothing from
> http://stackoverflow.com/questions/458209/is-there-a-way-to-detach-matplotlib-plots-so-that-the-computation-can-continue
>
> working on Vista for Wings IDE
What if you ditch the IDE and just run the script?
Alan Isaac
--
sorry
but nothing from
http://stackoverflow.com/questions/458209/is-there-a-way-to-detach-matplotlib-plots-so-that-the-computation-can-continue
working on Vista for Wings IDE
do you use it for LInux?
Sandy
> Date: Tue, 18 May 2010 18:14:11 -0400
> From: alan.is...@gmail.com
> To: matp
Thierry,
You need either scipy or rpy2 (and R) to do this. I've attached some code
below. Please keep in mind that I've written for the general case of having a
censored data set, therefore I rely on masked arrays from numpy.ma and
scipy.stats.mstats -- but I have apply the mask midway through
On Wed, May 19, 2010 at 5:47 PM, Solomon M Negusse
wrote:
> Hello,
> I came across problem of label rotation with autofmt_xdate() in subplothost
> too. Is there a new version with the bug fixed or a workaround to doing the
> label rotation in subplothost?
>
While this is fixed in the svn, there
hi all
has anyone ever tried to make a quantile-quantile plot with pylab?
is there any build in function named say "qqplot" available ?
thanks
Thierry
--
___
Matplotlib-users
Hi,
I would like a copy of matplotlib that is compatible with python 2.3. I
searched all over the net and it is really difficult to find anything. Does
anyone still have a copy? I believe it's version 0.87.3 or before.
Thank you,
Eian
--
15 matches
Mail list logo