This is a quote from the methods used in the below link .......... but allows for style to be matched to a line or marker .........
I think that this is what you may be after ..... how difficult it will be to set up compared to graphing programs that do most
things automatically may be the time consuming part ...........
The method pylab.savefig(FILENAME.FMT). The .FMT can be one of several, e.g., .eps, .svg, .ps, .pdf, .png, .gif, .jpg, etc.). Some of these (the vector graphics ones like pdf, ps, eps and svg) can be opened in Adobe Illustrator for modification.
As mentioned earlier, if you give plot() a single sequence of values, it assumes they are y values and supplies the x values for you. Garbage in, garbage out. But plot() takes an arbitrary number of arguments of the form: (X1,Y 1, line_style_1, X2,Y 2, line_style_2, etc.), where ’line_style’ is a string that specifies the line style as illustrated in this script called matplotlib2.py
http://earthref.org/PmagPy/cookbook/
__________________________________________________ ___________________________________
A simple test to make sure you can get matplotlib working on your own system is here for the pi
but its got some good explanations to get the basics going.
( if you have problems at all then I have a small script that I run to cover a lot of the dependencies for getting graphs to work )
Here is the basic minimal install I do on each of my systems - but make sure it suits yours
with aptitude warnings are given for dependencies and answering no may give better options
sometimes upgrading packages rather than removing anything ......
( I usually avoid removals unless I can see its giving me a later replacement )
Code:
#!/bin/bash
sudo apt-get update
sudo apt-get install aptitude
sudo aptitude update
sudo aptitude install python-matplotlib
sudo aptitude install tk
sudo aptitude install python-gtk2-dev
sudo aptitude install python-pygame
sudo aptitude install python-qt4-dev
sudo aptitude install libqglviewer-qt4-dev
sudo aptitude install python-vtk
sudo aptitude install python-pip
sudo pip install visvis
sudo pip install visvis --upgrade
sudo pip install mayavi
sudo aptitude install python-tk
sudo aptitude install pyqt4-dev-tools
sudo aptitude install libfltk1.3-dev
# takes a long time to build this last one ... uncomment if needed
# sudo pip install pyside
# better way to do this
sudo aptitude install pyside-tools
sudo aptitude install python-wxtools
sudo aptitude install python-opengl
http://www3.telus.net/danpeirce/notes/matplotlib.html
Bookmarks