Re: [Matplotlib-users] Problem using TeX

2010-01-29 Thread Eric Firing
Florian Lindner wrote: > Hello, > > I try to use LaTeX in my plot. I follow the instructions from > http://www.scipy.org/Cookbook/Matplotlib/UsingTex > > flor...@horus:~> cat .matplotlib/matplotlibrc > text.usetex: true > > My plotting code looks like: > > Ma = arange(1.0, 5.0, 0.01) >

Re: [Matplotlib-users] Problem using TeX

2010-01-29 Thread Sebastian Busch
Florian Lindner wrote: > Hello, > > I try to use LaTeX in my plot > > flor...@horus:~> cat .matplotlib/matplotlibrc > text.usetex: true > > My plotting code looks like: > > Ma = arange(1.0, 5.0, 0.01) > Ts = [T(i) for i in Ma] # BTW: Is there a way to spare this line? not sure what

[Matplotlib-users] Problem using TeX

2010-01-29 Thread Florian Lindner
Hello, I try to use LaTeX in my plot. I follow the instructions from http://www.scipy.org/Cookbook/Matplotlib/UsingTex flor...@horus:~> cat .matplotlib/matplotlibrc text.usetex: true My plotting code looks like: Ma = arange(1.0, 5.0, 0.01) Ts = [T(i) for i in Ma] # BTW: Is there a way

Re: [Matplotlib-users] Assigning "k" key for xscaling

2010-01-29 Thread Gökhan Sever
My initial patch is ready for your review. I tested with latest svn and customized key-mapping (from matplotlibrc) is working correctly. Please review, and let me know if there would be any better solution, variable naming, placing etc.. I can also update the http://matplotlib.sourceforge.net/use

[Matplotlib-users] AXES properties

2010-01-29 Thread kc106_2005-matplotlib
Hello, I am creating a plot with multiple y-axis (up to 6) and twinx works pretty well. The problem is that there are too much wasted spaces used up by the axes. Since I have multiple axes, it cuts into the amount of space available for the plot area. I need to know how I can squeeze some sp

Re: [Matplotlib-users] Draggable matplotlib legend

2010-01-29 Thread Gökhan Sever
One minor issue with the example is once you drag one of the items (legend or text or image) out of the plotting area there is no way to move them back unless you restart the example. Do you get the same defect? On Fri, Jan 29, 2010 at 11:40 AM, Jae-Joon Lee wrote: > I did some refactoring and

Re: [Matplotlib-users] Draggable matplotlib legend

2010-01-29 Thread Jae-Joon Lee
added blitting support. -JJ On Fri, Jan 29, 2010 at 12:40 PM, Jae-Joon Lee wrote: > I did some refactoring and now the annotation is also draggable.. > I also added an example, > > examples/animation/draggable_legend.py > > Regards, > > -JJ > > > > On Fri, Jan 29, 2010 at 10:28 AM, John Hunter

Re: [Matplotlib-users] Draggable matplotlib legend

2010-01-29 Thread Jae-Joon Lee
I did some refactoring and now the annotation is also draggable.. I also added an example, examples/animation/draggable_legend.py Regards, -JJ On Fri, Jan 29, 2010 at 10:28 AM, John Hunter wrote: > On Thu, Jan 28, 2010 at 10:14 PM, Fernando Perez wrote: >> On Thu, Jan 28, 2010 at 8:01 PM, C

[Matplotlib-users] Label picker broken?

2010-01-29 Thread Ben Axelrod
Picking text outside of the axes region seems to be broken in matplotlib 0.99.1 and in the latest SVN. This functionality used to work in version 0.98.3. The example code pick_event_demo.py demonstrates the issue. The "ylabel" in the red box is no longer pickable. Is there a "clip_on" or sim

[Matplotlib-users] markers in linestyles

2010-01-29 Thread Felix Kramer
Hi there, the linestyle mechanism of on-off inks is pretty flexible but still limited to dash dot combinations. It would be a nice feature if you could simply use a marker inside a linestyle instead of a dot for example. This would decouple vertices and markers and add a completely new dimensio

[Matplotlib-users] Using matshow to efficiently show seqeuences of images

2010-01-29 Thread Jeremy Lewi
Hello, I'm using matshow to display a sequence of images in a QT window; i.e each time a key is pressed a new image is displayed. The performance seems somewhat sluggish (my baseline here is displaying the images using opencv). So I'm wondering if there are some well established methods for usi

[Matplotlib-users] Error with 0.99.2 when using Intel Compiler (Linux)

2010-01-29 Thread Matthieu Brucher
Hi, It seems that the compilation of base_format needs a C++ compiler, but distutils launches icc instead of icpc. This may work with gcc, but with Intel Compiler, I can't force icc to understand C++. I don't know what happened between 0.98.5 and 0.99.2, but I can't use Matplotlib anymore :| Matt

Re: [Matplotlib-users] Draggable matplotlib legend

2010-01-29 Thread John Hunter
On Thu, Jan 28, 2010 at 10:14 PM, Fernando Perez wrote: > On Thu, Jan 28, 2010 at 8:01 PM, Christopher Barker > wrote: >> Might I suggest that that be made: >> >> leg.draggable(True) >> leg.draggable(False) >> > > Agreed.  My favorite api for toggles is: > > _state = True OK, this is committed.

Re: [Matplotlib-users] Draggable matplotlib legend

2010-01-29 Thread Michele Mattioni
Good job! +1 On Fri, Jan 29, 2010 at 4:14 AM, Fernando Perez wrote: > On Thu, Jan 28, 2010 at 8:01 PM, Christopher Barker > wrote: > > Might I suggest that that be made: > > > > leg.draggable(True) > > leg.draggable(False) > > > > Agreed. My favorite api for toggles is: > > _state = True > > d