next up previous contents index
Next: SUBROUTINE CSHADE Up: Description of Plotting Previous: SUBROUTINE AXIS3

SUBROUTINE CIRCLE

   

 CIRCLE plots circles, arcs and spirals. The curve is approximated by small straight line segments. The radius of the curve determines the number of line segments used. See also PLTARC. A solid circle of radius 2.0 centered at the origin could be generated by the call,

CALL CIRCLE(0.0,0.0,0.0,360.0,2.0,2.0,0.0).
Note that the hardware line type in effect before the call to circle would be used to draw the circle. A dashed-line (software generated) spiral centered at (1,1) would be created by the call,
CALL CIRCLE(1.0,1.0,90.0,800.0,3.0,1.0,0.5).
CALL CIRCLE (x,y,aa,ao,ra,ro,d)

x,y  (R): coordinates for the center of the circle
aa   (R): angle in degrees of starting point of curve
ao   (R): angle of end point relative to start point
ra   (R): curve radius at starting point
ro   (R): curve radius at the end point
d    (R): =  0 : solid curve
          = .5 : dashed curve (software generated dashes)



David Long
Wed Jun 12 10:34:11 MDT 1996