Re: [Matplotlib-users] interactive python session with matplotlib

2009-09-24 Thread Gökhan Sever
On Thu, Sep 24, 2009 at 10:47 PM, Andre Walker-Loud wrote: > IPython can remedy all your wonderings :) > > http://matplotlib.sourceforge.net/users/shell.html > > -- > Gökhan > > > Hi Gökhan, > > I am not very familiar with iPython (I am not opposed to learning either). > > What I have in mind is w

Re: [Matplotlib-users] Two questions...

2009-09-24 Thread Gökhan Sever
Thanks Jae-Joon for your explanations. My second question has easily been solved after setting the label position. However, I am still stuck snapping the axis pairs. I have two different scaled data sources. First three data (dccnConc, dccnConAmb, and dccnConSTP are plotted on the main host y-axi

Re: [Matplotlib-users] interactive python session with matplotlib

2009-09-24 Thread Andre Walker-Loud
IPython can remedy all your wonderings :) http://matplotlib.sourceforge.net/users/shell.html -- Gökhan Hi Gökhan, I am not very familiar with iPython (I am not opposed to learning either). What I have in mind is writing code that I can call from a terminal, as opposed to interactively

Re: [Matplotlib-users] Two questions...

2009-09-24 Thread Jae-Joon Lee
The example below will give you some idea where to start. It uses twin function in axes_grid toolkit. (also see http://matplotlib.sourceforge.net/examples/axes_grid/parasite_simple2.html) You may use twinx or twiny, but you need to make both x and y axis in sync to each other (maybe using the "xl

Re: [Matplotlib-users] interactive python session with matplotlib

2009-09-24 Thread Gökhan Sever
On Thu, Sep 24, 2009 at 7:25 PM, Andre Walker-Loud wrote: > Hi All, > > I have what I think is a basic question. I want to have an > interactive python script/code which uses matplotlib. For example, > the script first asks what data set to use, then when received, it > does some analysis routin

[Matplotlib-users] interactive python session with matplotlib

2009-09-24 Thread Andre Walker-Loud
Hi All, I have what I think is a basic question. I want to have an interactive python script/code which uses matplotlib. For example, the script first asks what data set to use, then when received, it does some analysis routines, and then makes some plots. To launch the plot, my I have

[Matplotlib-users] Two questions...

2009-09-24 Thread Gökhan Sever
Hello, One easy one harder two questions :) My screenshot http://img213.imageshack.us/img213/3443/snapshot5.png 1-) I want to link bottom and top x axes as well as left and right y axes. For now on the x-axis xticks are the time in seconds from midnight, not sure how to add the secondary top x a

Re: [Matplotlib-users] Segmentation fault under Agg

2009-09-24 Thread Michael Droettboom
I committed a slightly tighter version of this that uses a rectangle based on the size of the image plus a border to accomodate the exact marker size. Probably makes very little difference, but I suppose if there was a dense field of markers outside of view, this might speed things up a bit mo

Re: [Matplotlib-users] matplotlib with eclipse: how to get a graph?

2009-09-24 Thread Gökhan Sever
There is even a simpler use case :) Just put those three lines in a file say test.py and try python test.py Unless you are in ipython -pylab or threading enabled, it is required to issue a show() to see the results on the screen. On Thu, Sep 24, 2009 at 4:46 AM, Mark Bakker wrote: > Excellent

Re: [Matplotlib-users] matplotlib-0.99.1-py2.5-macosx10.5.dmg

2009-09-24 Thread Teemu Rinne
Hi John, Yes, works fine now, no error messages after from pylab import * . And now my code using imshow and masked_arrays works again as expected, great! Thank you, Teemu John Hunter kirjoitti 24.9.2009 kello 5.59: > On Wed, Sep 23, 2009 at 4:39 PM, Christopher Barker > wrote: >> Teem

Re: [Matplotlib-users] matplotlib with eclipse: how to get a graph?

2009-09-24 Thread Mark Bakker
Excellent. Many thanks.After all those years of using matplotlib, I finally find a use for show() Mark On Wed, Sep 23, 2009 at 11:02 PM, Gökhan Sever wrote: > > > On Wed, Sep 23, 2009 at 3:51 PM, Mark Bakker wrote: > >> Hello list, >> I recently started using Eclipse with Pydev. I like it a lot

[Matplotlib-users] annotating in matshow

2009-09-24 Thread Bala subramanian
Friends, I have a matrix which i plotted with matshow as follows and then used text function to write the each value inside the figure by choosing x and y coordinate. I wish to know if there is any easy or more fancy way to do the same. *mat=load('tnz.txt')* In [3]: *tmat=transpose(mat)* In [4]: