ANN: matplotlib cookbook wiki

I created a wiki page on the scipy web site for people to upload tips,
tricks, HOWTOs and recipes for matplotlib. Everyone is encouraged to
contribute; you just need to get a login for the scipy page from
http://www.scipy.org/wikis/topical_software/join_form .

One easy way to contribute is to take a file from the examples
directory and explain and annotate it and place it on the wiki. You
can also upload images to show off your work. Beyond that, everything
is fair game: from a tutorial freezing mpl with py2exe to embedding
mpl in your favorite GUI to doing animations.

To get the ball rolling, I cleaned up my last post to the mailing list
and posted it with a screenshot

  http://www.scipy.org/wikis/topical_software/MatplotlibCookbook

Thanks to scipy.org and enthought for hosting!

JDH

Hi

Is there another way to cycle through colors when repeating marker plots
except

c = 'bgrcmykw'
for i in range(...):
  plot(..., '+-' + c[i])

cheers,
steve

Hello Steve,

Steve Schmerler schrieb:

Is there another way to cycle through colors when repeating marker plots
except

c = 'bgrcmykw'
for i in range(...):
    plot(..., '+-' + c[i])

You can of course specify the line properties via the keyword arguments 'linestyle', 'marker' and in this case 'color'.

Since the kind of cycling you showed above is a good and working way, maybe you can explain in more detail what you are looking for.

Best regards,

Niklas Volbers.

Hi

Well if you do lineplots

  # plot some lines
  x = [1,2,3]
  for i in range(...):
    plot(x)

mpl changes the color of each line which doesn't happen in the case of
marker plots.

cheers,
steve

N. Volbers wrote:

···

Hello Steve,

Steve Schmerler schrieb:

Is there another way to cycle through colors when repeating marker plots
except

c = 'bgrcmykw'
for i in range(...):
    plot(..., '+-' + c[i])

You can of course specify the line properties via the keyword arguments 'linestyle', 'marker' and in this case 'color'.
Since the kind of cycling you showed above is a good and working way, maybe you can explain in more detail what you are looking for.

Best regards,

Niklas Volbers.

Just to get the ball rolling (and because I couldnt sleep this morning), I
made a page discussing TeX/LaTeX with mpl.

http://www.scipy.org/Members/dsdale/textwithlatex/document_view

How do I submit this so it can be found from the MatplotlibCookbook website?

···

On Thursday 28 July 2005 03:57 pm, John Hunter wrote:

I created a wiki page on the scipy web site for people to upload tips,
tricks, HOWTOs and recipes for matplotlib. Everyone is encouraged to
contribute; you just need to get a login for the scipy page from
http://www.scipy.org/wikis/topical_software/join_form .

One easy way to contribute is to take a file from the examples
directory and explain and annotate it and place it on the wiki. You
can also upload images to show off your work. Beyond that, everything
is fair game: from a tutorial freezing mpl with py2exe to embedding
mpl in your favorite GUI to doing animations.

To get the ball rolling, I cleaned up my last post to the mailing list
and posted it with a screenshot

  http://www.scipy.org/wikis/topical_software/MatplotlibCookbook

Thanks to scipy.org and enthought for hosting!

--

Darren