Re: [Matplotlib-users] Matplotlib and Flash

2009-06-13 Thread Troels Kofoed Jacobsen
w if it supports flash. If not you can use ffmpeg to turn a video of a supported format into a flash .flv video. http://ubuntuforums.org/showthread.php?t=499174 gives some hints to mencoder. ffmpeg is pretty much just: ffmpeg -i in.avi out.flv Best Regards Troel

[Matplotlib-users] Possible to cut out pease of axes

2009-03-31 Thread Troels Kofoed Jacobsen
Hi All Is it possible to cut out a peace of an axes, as shown in the attached mockup. This could typically be used if you have some important data in the interval [0,6] and some other important data in another interval [30,40] as shown in the figure. Best Regards Troels Kofoed Jaobsen mockup

Re: [Matplotlib-users] making the space between ticks

2009-04-06 Thread Troels Kofoed Jacobsen
version of matplotlib? It is also possible to mix math mode and non-math mode. ylabel(r'$V$ [\AA$^3$]') (also note that units by convention are not italic...) Best regards Troels Kofoed Jacobsen -- This SF.net emai

Re: [Matplotlib-users] Segmentation fault using imshow on large image

2009-04-25 Thread Troels Kofoed Jacobsen
Hi It could be that you just have to much data for the stack. You can see/set your stack size with ulimit -s (on linux/solaris at least). Try to set it to unlimited: ulimit -s unlimited This has solved similar problems for me in the past. Best Regards Troels Kofoed Jacobsen On Saturday 25

[Matplotlib-users] xpdf distiller: page doesn't fit graph

2007-05-10 Thread Troels Kofoed Jacobsen
or inclusion in LaTeX. How can I make the page the same size as the graph? Please help me. Matplotlib makes the nicest graphs i know -- don't make me use Matlab. Best Regards T. -- Troels Kofoed Jacobsen [EMAIL PROTECTE

Re: [Matplotlib-users] xpdf distiller: page doesn't fit graph

2007-05-10 Thread Troels Kofoed Jacobsen
It is working great if I just use .eps Thanks guys.,, On Thu, May 10, 2007 at 03:22:20PM -0400, Darren Dale wrote: > On Thursday 10 May 2007 02:39:51 pm Troels Kofoed Jacobsen wrote: > > I want to make some good vector graphs to include in LaTeX. > > > > I use >

[Matplotlib-users] Different matplotlibrc

2008-02-22 Thread Troels Kofoed Jacobsen
Hey everybody Is there at way to make matplotlib use a different matplotlibrc than the one in $HOME/.matplotlib. This is because I want to be able to use different settings for different plots, e.g one for publishable plots, and one for daily plotting. Best regards Troels Kofoed Jacobsen

Re: [Matplotlib-users] Different matplotlibrc

2008-02-22 Thread Troels Kofoed Jacobsen
Thanks guys. The env variable method doesn't work, but I can use the file in current dir for now (will just symlink from the file i want). Best Regards T. On Fri, Feb 22, 2008 at 2:39 PM, Darren Dale <[EMAIL PROTECTED]> wrote: > On Friday 22 February 2008 04:45:46 am Troels K

[Matplotlib-users] Use xticks from file

2008-02-25 Thread Troels Kofoed Jacobsen
7;,'Mo')) plot(y) Is there an easy way to do this? And why does usecols=(6) not work? -- Med Venlig Hilsen / Best Regards Troels Kofoed Jacobsen - This SF.net email is sponsored by: Microsoft Defy all challenge

Re: [Matplotlib-users] Extended load function

2008-03-03 Thread Troels Kofoed Jacobsen
Oups, now i have attached the file -- Forwarded message -- From: Troels Kofoed Jacobsen <[EMAIL PROTECTED]> Date: Mon, Mar 3, 2008 at 3:51 PM Subject: Extended load function To: matplotlib-users@lists.sourceforge.net Hi everybody I have modified the load functi

[Matplotlib-users] Extended load function

2008-03-03 Thread Troels Kofoed Jacobsen
x27;,usecols=(1,2),unpack=True,string=0) here the data file is like: # Molecule Energy1 Energy2 Fe -831-832 Pt -923-932 It can also be used without unpack, but only one array of strings can be extracted. -- Med Venlig Hilsen / Best regard

[Matplotlib-users] Transparent?

2008-03-07 Thread Troels Kofoed Jacobsen
Hi all Can i make something transparent? E.g the markerfacecolor? -- Med Venlig Hilsen /Best Regards Troels Kofoed Jacobsen - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

Re: [Matplotlib-users] variable line thickness in a plot

2008-03-11 Thread Troels Kofoed Jacobsen
ut it can be done with clever use of fill: from pylab import * x = linspace(0,10,101) y = cos(x) z = sin(3*x)+2 zn = 0.05*z xs, ys = mlab.poly_between(x, y-zn, y+zn) fill(xs, ys) show() Best Regards -- Troels Kofoed Jacobsen [EMAIL PROTECTED] tel: +45 20880798 --

Re: [Matplotlib-users] variable line thickness in a plot

2008-03-11 Thread Troels Kofoed Jacobsen
On Tue, Mar 11, 2008 at 01:23:04PM -0700, eliss wrote: > >On 3/11/08, Troels Kofoed Jacobsen <[EMAIL PROTECTED]> wrote: > > On Tue, Mar 11, 2008 at 12:45:21PM -0700, eliss wrote: > > > >Hi, does anyone know of a way to create lines

[Matplotlib-users] Loading and saving arbitrary objects with attributes

2008-03-26 Thread Troels Kofoed Jacobsen
Hi. Does anyone know how to save and load an arbitrary object (e.g a numpy array) to a file, and load it again? I cannot use savetxt and loadtxt as these only stores the numbers. I think I'm looking for some binary format. Best regards / Med Venlig Hilsen Troels Kofoed Jac