Re: [Matplotlib-users] importing data from a file

2009-03-28 Thread Cohen-Tanugi Johann
which kind of data file? ascii? If yes, numpy.loadtxt will be your friend. Johann Bala subramanian wrote: > Friends, > > Kindly give me some tips on how to import data from a data file to > make the plot. > > Thanks, > Bala > ---

Re: [Matplotlib-users] importing data from a file

2009-03-28 Thread Cohen-Tanugi Johann
which kind of data file? ascii? If yes, numpy.loadtxt will be your friend. Johann Bala subramanian wrote: > Friends, > > Kindly give me some tips on how to import data from a data file to > make the plot. > > Thanks, > Bala > ---

[Matplotlib-users] OS X trouble

2009-03-28 Thread Gideon Simpson
I don't know if this is because I upgraded to the current developement version of numpy or not, but I when I tried rebuilding matplotlib, I generated the following error: gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/lib/python2.5/site-pack

[Matplotlib-users] Simple TKAgg animation fails with "Not Responding" after 15-20 seconds

2009-03-28 Thread Nathaniel Troutman
Hi, I'm using the code copied straight from the simple tkagg animation example at: http://matplotlib.sourceforge.net/examples/animation/simple_anim_tkagg.html It starts up fine and I can see the moving sine wave, however, after about 15 to 20 seconds the plotting window freezes showing "Figure

Re: [Matplotlib-users] Bug when saving in PNG?

2009-03-28 Thread Markus Haider
Am Freitag, den 27.03.2009, 07:58 -0500 schrieb John Hunter: > > > On Fri, Mar 27, 2009 at 5:00 AM, marcusantonius > wrote: > > Hi, > > I have a problem when saving my plot as a png. The horizontal > lines, which I > inserted via > axhlin

Re: [Matplotlib-users] help me to understand please

2009-03-28 Thread Sandro Tosi
On Sat, Mar 28, 2009 at 15:45, Bala subramanian wrote: > Friends, > In the following. I am not able to understand how this plot.show() works. I > have commented the problem in the following examples. You have to call plt.show() only when you want to actually show the figure. That's because you're

[Matplotlib-users] help me to understand please

2009-03-28 Thread Bala subramanian
Friends, In the following. I am not able to understand how this plot.show() works. I have commented the problem in the following examples. >>> plt.plot(x,y,'b-') [] >>> plt.show() *# shows the plot of x Vs y* >>> plt.ylim( (1.5,4.5) ) (1.5, 4.5) >>> plt.show() *# Does nt show the plot* >

[Matplotlib-users] importing data from a file

2009-03-28 Thread Bala subramanian
Friends, Kindly give me some tips on how to import data from a data file to make the plot. Thanks, Bala -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.n

[Matplotlib-users] error bars on a log log plot

2009-03-28 Thread Cohen-Tanugi Johann
Hello, what is the best way to get log log plots with error bars? I tried putting log10() everywhere but as I was afraid results look ugly thanks, johann -- ___ Matplotli