next up previous contents
Next: Exercise 7 (Plotting) Up: Working with Jasymca Previous: Exercise 6 (Vectors)

Plotting

Data may be graphed using the plot(x,y)-function, x and y being equalsized vectors, which denote the coordinates of the datapoints to be plotted. A third optional argument plot(x,y,option) specifies plotoptions like colors and symbols, see exercise 7ff. The graphic may then be decorated (axis, title) and exported as encapsulated-postscript file for inclusion in textdocuments. This export option is not available in the applet and midlet versions of Jasymca. With hold (or hold on) the graphic gets locked so that subsequent plotcommands use the same window. Repeating hold (or hold off) deletes the graphic.

Logarithmic and semilogarithmic plots are provided with the functions loglog, linlog and loglin.



Subsections

Helmut Dersch
2009-03-15