Re: [Matplotlib-users] plotting 3d function

2013-02-01 Thread Pau
but even in that case I get draw3d (implicit): non real value How could I check the same in matplotlib? Am I missing something? Maybe this is a bug in maxima... Any help will be appreciated! On Tue, Jan 22, 2013 at 3:29 PM, Benjamin Root ben.r...@ou.edu wrote: On Mon, Jan 21, 2013 at 8:06 PM, Pau

[Matplotlib-users] plotting 3d function

2013-01-21 Thread Pau
Hi, I am somehow new to matplotlib and I am trying to plot this function of x ,y ,z F(x,y,z)= 38244.74787*Pi*(x^2+y^2+z^2)^.125+1615.975261*Pi*z^2/(x^2+y^2+z^2)^.875-1292.780210*Pi*z^2/((x^2+y^2+z^2)^.875*(1+y^2/x^2))+1292.78*Pi*(x^2+y^2+z^2)^.125/(1+y^2/x^2) in a similar way as

[Matplotlib-users] How to get log axes for a density plot with matplotlib?

2011-10-07 Thread Pau
I am trying to make a 2D density plot (from some simulation data) with matplotlib. My x and y data are defined as the log10 of some quantities. How can I get logarithmic axes (with log minor ticks)? Here is an exemple of my code: import numpy as np import matplotlib.pyplot as plt Data =

[Matplotlib-users] sys arg

2011-07-14 Thread Pau
Hi, I have a very naive question ... howmdo I pass an arg to a matplotlib script? I need to run MyScript 34 12 67 25 for the script to use those numbers to multiply quantities for producing a plot... I am using sysarg[1], 2, 3 but is seems not to work. thanks

Re: [Matplotlib-users] sys arg

2011-07-14 Thread Pau
my problem was fixed with this var = float(sys.argv[1]) thanks! On 14 July 2011 16:24, Benjamin Root ben.r...@ou.edu wrote: On Thursday, July 14, 2011, Pau vim.u...@googlemail.com wrote: Hi, I have a very naive question ... howmdo I pass an arg to a matplotlib script? I need to run

[Matplotlib-users] Use a variable for the ms option in the plot function

2011-05-03 Thread Pau
Hello, I am looking for a way to feed R=log(M) to plot in the ms field (HERE in the example): plot(X, Y, \ marker='o', mec='black',ms=HERE,ls='None',\ mfc='red',alpha=0.9,mew=2,antialiased=True) thanks, Pau

Re: [Matplotlib-users] Use a variable for the ms option in the plot function

2011-05-03 Thread Pau
thanks! I wish there was something similar to markeredgewidth in scatter, though But it's doing what I wanted, thanks Pau On 3 May 2011 19:21, Buchholz, Greg gbuchh...@infiniacorp.com wrote:    Maybe you want to use the scatter procedure? http://matplotlib.sourceforge.net/examples

[Matplotlib-users] automatically plotting different sets of data

2011-05-03 Thread Pau
not know how to tell matplotlib from the shell script that the number of files is different and that it should use different colours for different files. I can explain this in much more detail if needed, but I wanted to hear a first impression. thanks, Pau

Re: [Matplotlib-users] automatically plotting different sets of data

2011-05-03 Thread Pau
the first data file to the last one and color changes from one data file to the next one The goal is to have all the data files plotted in a single graph How could I do this? Thanks a lot P. On 3 May 2011 20:37, Pau vim.u...@googlemail.com wrote: Hello, I am afraid that I know the answer

Re: [Matplotlib-users] automatically plotting different sets of data

2011-05-03 Thread Pau
THANKS!! I am not a native speaker and sometimes I find it very hard to find a keyword to look for... that tip was excellent, thank you a lot On 3 May 2011 22:27, Buchholz, Greg gbuchh...@infiniacorp.com wrote: From: Pau [mailto:vim.u...@googlemail.com] PS: I thought I would probably give

[Matplotlib-users] Annotate value of a variable with ax.annotate?

2011-04-29 Thread Pau
('Time = ', size=18, xy=(3, 1), xycoords='data', xytext=(0.8, 0.95), textcoords='axes fraction', horizontalalignment='right', verticalalignment='top', ) Thanks, Pau -- WhatsUp Gold

[Matplotlib-users] use $1 for name of file plt.savefig

2011-04-28 Thread Pau
('$file.eps') does not work. Any hint will be appreciated. Thanks, Pau -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today

Re: [Matplotlib-users] use $1 for name of file plt.savefig

2011-04-28 Thread Pau
thanks! On 28 April 2011 19:01, Wes McKinney wesmck...@gmail.com wrote: On Thu, Apr 28, 2011 at 12:55 PM, Pau vim.u...@googlemail.com wrote: Hi, I am trying to use recursively a matplotlib script to create 650 plots. For this, I have defined cluster = loadtxt(sys.argv[1]) MBH

[Matplotlib-users] Search for a row with a pattern in a column

2011-04-28 Thread Pau
. . . - The purpose is to identify the row and then plot the 3rd and 4th columns once that row has been identified: X_inst = FILE[:, 2] # Column 3 Y_inst = FILE[:, 3] # Column 4 My problem is how to define those thanks a lot, Pau

Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard

2010-10-28 Thread Pau
this as an example http://www.aei.mpg.de/~pau/Encrypt_Users.html In any case, again, yo have all of my respect and I thank you for helping me out when I had the macbook pro with your effort by porting all of that software. Pau 2010/10/28 Benjamin Root ben.r...@ou.edu: On Wed, Oct 27, 2010 at 4:19

Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard

2010-10-27 Thread Pau
Sorry for being negative, but it's reassuring that I took the right decision when I gave back my macbook pro to IT and asked for a thinkpad instead and I installed UNIX on it. You know what I did to install matplotlib on my OpenBSD laptop? pkg_add py-matplotlib And after 1 minute it was up and

Re: [Matplotlib-users] ellipk

2010-10-09 Thread Pau
Hi, didn't work... ImportError: No module named scipy.special this is fedora13... thanks! Pau 2010/10/8, Sebastian Busch webmas...@thamnos.de: hey pau, ellipk is in scipy.special: #!/usr/bin/env python from pylab import * from scipy.special import ellipk e=1. a_mpc = 4.0 p = a_mpc

[Matplotlib-users] ellipk

2010-10-08 Thread Pau
* But when calling the script, I get: NameError: name 'ellipk' is not defined What am I doing wrong? Any help will be very much appreciated. Thanks a lot, Pau -- Beautiful is writing same markup. Internet Explorer 9 supports

[Matplotlib-users] exponential notation in axis lost?

2010-05-24 Thread Pau
with the defaults. How can I reset this? I would also like to know how to specify the number of ticks to be used for an axis. Thanks, Pau -- ___ Matplotlib-users mailing list Matplotlib

[Matplotlib-users] Some questions about mplot3D

2010-05-04 Thread Pau
/mpl_toolkits/mplot3d/tutorial.html but I cannot understand the syntax Any help would be appreciated thanks, Pau -- ___ Matplotlib-users mailing list Matplotlib-users

[Matplotlib-users] where's superpack?

2010-03-24 Thread Pau
Hello, I am using macosx 10.6 aka snow leopard (not willingly btw) and I need to install matplotlib. I know of superpack but the site seems to have been dead for some weeks now. Does anybody know where I could get a copy of superpack? thanks, Pau

[Matplotlib-users] showing xlabel and ylabel with 1eX notation

2009-11-28 Thread Pau
Hello, I am doing a plot and the x axis shows a small 1e7 indicating that the numbers should be multiplied by that quantity, but the y axis does not and is showing labels like 0.07 Why is that? I would like it to also use the 1eX notation Any comment will be appreciated Thanks, Pau

[Matplotlib-users] automated labelling in the plot

2009-07-10 Thread Pau
in text in the plot area without having to look at the particular values of the particular plot I am dealing with, in a series of very similar plots. Thanks, Pau -- Enter the BlackBerry Developer Challenge This is your

[Matplotlib-users] histograms : xmax

2009-07-07 Thread Pau
getting 9 Why is that? What am I doing wrong? I have tried to substitute lower-case e with E in the data file but this did not help Any help would be appreciated. thanks, Pau -- Enter the BlackBerry Developer

[Matplotlib-users] histograms ...

2009-07-05 Thread Pau
I am supposed to show this plot tomorrow and I cannot figure out how to plot this with matplotlib Any help in this desperate last minute panic would be enormously appreciated! thanks Pau

Re: [Matplotlib-users] histograms ...

2009-07-05 Thread Pau
() It would be great if I got this one done. Thanks for your help Pau 2009/7/5 Sebastian Busch webmas...@thamnos.de: Pau wrote: ... MODE: 0.00e+00 -  1.00e-04 (2226):**    1: 1.00e-04 -  2.00e-04

Re: [Matplotlib-users] histograms ...

2009-07-05 Thread Pau
ok, I installed now scipy Traceback (most recent call last): File ./prova.py, line 14, in module y.append(int(line.split('(')[1].split(')')[0])) IndexError: list index out of range what is out of range? sorry for the spamming... :( 2009/7/5 Pau vim.u...@googlemail.com: Hello! thanks

Re: [Matplotlib-users] histograms ...

2009-07-05 Thread Pau
... thanks for all... I guess that the last minute panic is not exactly the best strategy, as usual Pau 2009/7/5 Gökhan SEVER gokhanse...@gmail.com: On Sun, Jul 5, 2009 at 3:41 PM, Pau vim.u...@googlemail.com wrote: ok, I installed now scipy Traceback (most recent call last):  File ./prova.py, line

[Matplotlib-users] different dimensions for subplots + same x label

2009-04-10 Thread Pau
Hello, is it possible to define the dimensions of a subplot to use 70% of the plot surface and the other one 30%? I'd also like the plots to share the same x label... how to do it? thanks -- This SF.net email is

Re: [Matplotlib-users] different dimensions for subplots + same x label

2009-04-10 Thread Pau
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg03134.html I'd like to understand the syntax, though... For the shared x label I found something at the wiki, but it was a bit obscure... 2009/4/10 Pau vim.u...@googlemail.com: Hello, is it possible to define

Re: [Matplotlib-users] float argument required

2009-03-27 Thread Pau
number. Can you also provide a minimal script that causes this error?  I'm particularly puzzled by the difference in output between PDF and PS. Cheers, Mike Pau wrote: Hello, using 0.98.5.2 under OpenBSD -current I have made a plot and, when I try to save it as eps/ps, I get the error

[Matplotlib-users] float argument required

2009-03-22 Thread Pau
. It looks as if the some function was expecting a decimal-point number but got something else. I can send the .py and data, if you wish. Thanks, Pau -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM