[Matplotlib-users] animation optimization

2014-06-18 Thread Bruno Pace
Hey all,

I am trying to produce an animation from several images generated with
imshow from a sequence of arrays in time, I have done that in several ways.
However, my animations consist of several frames (on the order of 1
frames) and thus the simulation crashes when it's too large.

The solution I found was writing the png files and then animating. It is
very time and memory consuming, though, and I have the impression it is not
the best solution to tackle this problem. What is the best practice to deal
with this problem?

Thanks!

Bruno

P.S.: I'm using Ipython, would it change running from a terminal instead of
running it from the shell?
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] colors

2014-06-18 Thread Bruno Pace
Ok, so using the norm=SymLogNorm I cannot distinguish the values that are
exactly 0.0 from the really small ones, right? Would it be possible to make
use of the set_bad method without having to use masked arrays, just
combining the SymLogNorm and the set_bad?

Thanks!


2014-06-17 21:20 GMT+02:00 Eric Firing :

> On 2014/06/17, 8:59 AM, Bruno Pace wrote:
> > Hi all,
> >
> > I'm trying to use imshow to plot some values which fall on the interval
> > [0,1]. I need to
> > use a logscale to emphasize the scales of the data. The solution I found
> > checking some discussions was like this
> >
> > plt.imshow(X, interpolation='none', norm=matplotlib.colors.LogNorm())
> >
> > However, I notice that the way these colors are assigned are not always
> > the same (although my data always contains the minimum value 0.0 and
> >   the maximum 1.0). I need to have a coherent color scale to indicate
> > the real values. Is it easier to do the color code myself? What is the
> > proper way of tackling this problem??
>
> Use the vmin and vmax kwargs to LogNorm, remembering that vmin must be
> greater than zero for a log scale.
>
> Eric
>
> >
> > It's pretty much the same problem described here, but with a logscale...
> >
> >
> http://stackoverflow.com/questions/7875688/how-can-i-create-a-standard-colorbar-for-a-series-of-plots-in-python
> >
> >
> > Thank you very much!
> >
> > Bruno
> >
> >
> >
> --
> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> > Find What Matters Most in Your Big Data with HPCC Systems
> > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > http://p.sf.net/sfu/hpccsystems
> >
> >
> >
> > ___
> > Matplotlib-users mailing list
> > Matplotlib-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
>
>
>
> --
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Pick a particular data from array

2014-06-18 Thread dydy2014
Thank you Paul for your comment, but what I need not just put a line in the
contour.
I want to pick value along the red line, so which the data that placed on
the red line.
Then I will plot it in the other type of plot.







--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Pick-a-particular-data-from-array-tp43532p43545.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users