|
From: Ihor R. <ro...@tu...> - 2001-03-26 14:45:02
|
> From: Bruce Sherwood <ba...@an...>
> (And I repeat, it does not seem to be available for Macintosh at all.)
Yes, It is not available for Mac due to very simple reason - Helmut
Michels (DISLIN creator) has no Mac in his institute.
> I think there are two different kinds of use. Sophisticated users need a
> sophisticated graphing package, and DISLIN may be it. My intro physics
> students need some very simple autoscaled graph capability of the kind
> offered by visual.graph.
DISLIN contains so called 'quickplots' which are ideal for your purposes.
The following simple example plots a function on the screen
from Numeric import *
from dislin import *
x=arange(100)
qplot(x,sin(x/5.0),100)
To save a plot in Postscript you should add line
metafl("post")
before calling qplot. There are similar one-line functions for plotting 3D
colour plot, surface plot, contour plot, etc. I think it exactly the thing
your students need. You can find more information about using DISLIN with
NumPy in the SHORT article at
http://www.oreillynet.com/pub/a/network/2000/06/02/magazine/numerically.html
printer-friendly version -
http://www.oreillynet.com/lpt/a/231
Ihor Rokach
|