Re: [Matplotlib-users] define color cycle in matplotlibrc

2009-12-29 Thread Gary Ruben
One nice thing about gnuplot is the option its GUI provides to toggle between using coloured lines and using black lines with various dashed patterns. I think it would be nice in matplotlib to also be able to have a default series of dashed patterns that could automatically be cycled through.

Re: [Matplotlib-users] define color cycle in matplotlibrc

2009-12-29 Thread Eric Firing
Dominik Szczerba wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > OK I started hacking and added a color_cycle property to matplotlibrc. > Would you be so kind to add this fix to the official version? Thanks! > Dominik Your basic idea--that the colorcycle should be settable in rcPara

Re: [Matplotlib-users] define color cycle in matplotlibrc

2009-12-29 Thread Dominik Szczerba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony S Yu wrote: >> >> Tony S Yu wrote: >>> On Dec 29, 2009, at 3:35 AM, Dominik Szczerba wrote: Tony S Yu wrote: > Hey Dominik, > > I'd also like to see the default color_cycle be customizeable. But, if > I'm not mistaken, this ap

Re: [Matplotlib-users] define color cycle in matplotlibrc

2009-12-29 Thread Tony S Yu
> > Tony S Yu wrote: >> On Dec 29, 2009, at 3:35 AM, Dominik Szczerba wrote: >>> Tony S Yu wrote: Hey Dominik, I'd also like to see the default color_cycle be customizeable. But, if I'm not mistaken, this approach doesn't quite do what you want (at least it doesn't on a r

Re: [Matplotlib-users] Can not get animated matplotlib example to work

2009-12-29 Thread TheLonelyStar
TheLonelyStar wrote: > > > > Jeff Whitaker wrote: >> >> TheLonelyStar wrote: >>> Hi, >>> >>> I am trying to get the exaple from here: >>> http://matplotlib.sourceforge.net/examples/animation/animate_decay_tk_blit.html >>> >>> I copied it into a file and tried to execute it. >>> I get: >>> >>

Re: [Matplotlib-users] I expanded the embedding_in_qt4.py with a blitting canvas.

2009-12-29 Thread Darren Dale
On Sat, Dec 26, 2009 at 12:52 PM, Till Stensitzki wrote: > If you want to use it in the example section or anything else, you are > welcome. We also have an existing blitting example at http://matplotlib.sourceforge.net/examples/animation/animation_blit_qt4.html . I would prefer not to add blitti

Re: [Matplotlib-users] matplotlib figure within Qt Application -> segfault

2009-12-29 Thread Darren Dale
On Mon, Dec 28, 2009 at 10:24 AM, TheLonelyStar wrote: > > Hi, > > I have a Qt application, where I want to display a matplotlib figure which > is updated from time to time (not mebeded, in its own window). > > Now, I do: > import pylab > > pylab.ion() > pylab.figure() > > within a function of the

Re: [Matplotlib-users] Can not get animated matplotlib example to work

2009-12-29 Thread TheLonelyStar
Jeff Whitaker wrote: > > TheLonelyStar wrote: >> Hi, >> >> I am trying to get the exaple from here: >> http://matplotlib.sourceforge.net/examples/animation/animate_decay_tk_blit.html >> >> I copied it into a file and tried to execute it. >> I get: >> >> File "test.py", line 56, in >> manag

Re: [Matplotlib-users] Can not get animated matplotlib example to work

2009-12-29 Thread Jeff Whitaker
TheLonelyStar wrote: > Hi, > > I am trying to get the exaple from here: > http://matplotlib.sourceforge.net/examples/animation/animate_decay_tk_blit.html > > I copied it into a file and tried to execute it. > I get: > > File "test.py", line 56, in > manager.window.after(100, run) > AttributeEr

Re: [Matplotlib-users] define color cycle in matplotlibrc

2009-12-29 Thread Dominik Szczerba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony S Yu wrote: > On Dec 29, 2009, at 3:35 AM, Dominik Szczerba wrote: >> Tony S Yu wrote: >>> Hey Dominik, >>> >>> I'd also like to see the default color_cycle be customizeable. But, if >>> I'm not mistaken, this approach doesn't quite do what you wa

[Matplotlib-users] Can not get animated matplotlib example to work

2009-12-29 Thread TheLonelyStar
Hi, I am trying to get the exaple from here: http://matplotlib.sourceforge.net/examples/animation/animate_decay_tk_blit.html I copied it into a file and tried to execute it. I get: File "test.py", line 56, in manager.window.after(100, run) AttributeError: 'gtk.Window' object has no attribu

Re: [Matplotlib-users] parameters values in the title

2009-12-29 Thread John Hunter
On Tue, Dec 29, 2009 at 1:47 PM, kamaleon wrote: > > Hey all, > I have a program that contains two parameters > ... > beta=0.2 > delta=0.4 > . > . > in the title of my plot i want the value of the ratio beta/delta=0.5 to > executed automatically when i run the program. > > i need:confu

[Matplotlib-users] parameters values in the title

2009-12-29 Thread kamaleon
Hey all, I have a program that contains two parameters ... beta=0.2 delta=0.4 . . in the title of my plot i want the value of the ratio beta/delta=0.5 to executed automatically when i run the program. i need:confused: title('...\beta/delta=0.5') how can i do that in matplolib? c

Re: [Matplotlib-users] define color cycle in matplotlibrc

2009-12-29 Thread Tony S Yu
On Dec 29, 2009, at 3:35 AM, Dominik Szczerba wrote: > Tony S Yu wrote: >> >> Hey Dominik, >> >> I'd also like to see the default color_cycle be customizeable. But, if >> I'm not mistaken, this approach doesn't quite do what you want (at least >> it doesn't on a recent version of mpl). The probl

Re: [Matplotlib-users] clabel( CS, manual=True ) / ginput_manual_clabel.py - broken?

2009-12-29 Thread Matthias Michler
Hi JJ, Bugs item #2922835, was opened at 2009-12-29 15:29 Happy New Year! Kind regards, Matthias On Tuesday 29 December 2009 15:13:39 Matthias Michler wrote: > Hi JJ, > > I'm sorry for the late response - I was on chrismas holidays and in fact > even now I have not much time. > I tested you pat

Re: [Matplotlib-users] clabel( CS, manual=True ) / ginput_manual_clabel.py - broken?

2009-12-29 Thread Matthias Michler
Hi JJ, I'm sorry for the late response - I was on chrismas holidays and in fact even now I have not much time. I tested you patch and there arise labels - thanks a lot so far. Where should I post the bug report? on sourgeforge.net in the "Bug Tracking System" of matplotlib? Kind regards, Matth

Re: [Matplotlib-users] define color cycle in matplotlibrc

2009-12-29 Thread Dominik Szczerba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony S Yu wrote: > > On Dec 24, 2009, at 4:21 AM, Dominik Szczerba wrote: >> OK I started hacking and added a color_cycle property to matplotlibrc. >> Would you be so kind to add this fix to the official version? Thanks! >> Dominik >> >> $ diff -w axe