On Tue, 8 Mar 2005 Yang Yang submitted metapost macros to plot data in matlab style.
Location on CTAN: /graphics/metapost/contrib/macros/matlab Summary description: MetaPost data plotting License type: lppl
Announcement text: ---------------------------------------------------------------------- matlab.mp ------- Metapost data plotting in matlab style
Matlab has powerful data plotting ability, but one annoying problem prevents it from being perfect: when you increase the linewidth, the dotted line size stays the same, so the plotted line no longer looks like a dotted line.
another problem is matlab bug: it oftern cuts away some curves and captions.
plus, matlab is expensive. on the other hand, the free gnuplot also doesn't produce very satisfactory visual effects.
I got accustomed to matlab's easy interface. so I want to integerate the powerful graphic function of Metapost and the easy interface of Matlab. so I wrote this script matlab.mp. this is based on graph.mp, I just collected the data into 2-D arrays, and remembered the line styles, so it's easy to plot out legends.
FEATURES: all kinds of line color, width, style (dotted/dashed, etc), and markers. you can easily expand this by modifying the code.
easy interface. very similar to matlab
full power of latex in caption/legends, by using the latexmp package. ----------------------------------------------------------------------
Thanks for the upload
For the CTAN Team Rainer Schöpf