trigp.ppi
|
|
|
# produces a contour plot of a trig function
SPECIATION
JobTitle "trig function"
calculationType "contour"
calculationMethod 1
xmin -5
xmax 5
ymin -6
ymax 6
resolution 100
PLOT
xtitle "x"
ytitle "y"
contourZvariable "f"
contours auto 17 p
contourFillcolor auto
contourLineWidth 0.2
contourLineColor black
contourShiftLabel c
contourLabelSize 1.5
contourLabelFont "Helvetica"
contourLabelColor black
contourlabelFigs auto
CHEMISTRY
SOLUTION
SELECTED_OUTPUT
-reset false
USER_PUNCH
-headings x y f
10 x = <x_axis>
20 y = <y_axis>
25 PUNCH x, y
30 c = 3
40 f = sin(sqrt(x^2+0.3*y^2)) + 1/sqrt((x-c)^2+y^2)
50 PUNCH f
END
|
|