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

2007-05-10 Thread Troels Kofoed Jacobsen
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 PROTECTED] tel: +45 20880798

[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 Kofoed Jacobsen wrote

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 function

[Matplotlib-users] Extended load function

2008-03-03 Thread Troels Kofoed Jacobsen
=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 regards Troels Kofoed Jacobsen

[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
= 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 - This SF.net email

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 with variable thickness and color

[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 Jacobsen

[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

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

2009-04-06 Thread Troels Kofoed Jacobsen
by convention are not italic...) Best regards Troels Kofoed Jacobsen -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http

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

Re: [Matplotlib-users] Matplotlib and Flash

2009-06-13 Thread Troels Kofoed Jacobsen
. 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 Troels Kofoed Jacobsen