Post by GregWhat is available for plotting in Oberon?
I need something that will let me enter a math
expression and then display a plot of the function.
(I don't want an interactive drawing program like
Draw or Kepler.) My primary interest is for Oberon
V4.
-Greg
Would it be acceptable to use Kepler without the point & click?
When I needed to plot several thousand points, I evaluated the choice
between using Kepler and writing some module to put dots in a Frame.
I made a command that read each point, made a Kepler Star extension,
and did a Kepler.Graph.Append. The extension had original data in the
fields, and did a scaling calculation. A companion could have read
the graph, and made a Text of the data values. I could change the
definition of the star, for example to make different size or color
ticks, and the appearance of the graph would change. Some of the
stars drew a line from (x,0) to (x,y) This was good. I could insert
a Kepler drawing into a text. This is from memory. All the
identifiers are presumed to have spelling errors.
This was in my first Oberon programming Epoch. It might hurt to read
the code now, a decade later.
Using this experience, I would simply write a command that calculates
the expression on the domain of points you desire and opens a Kepler
viewer with the results.