plarc
plot an arc using user units
parameter | type | units | description |
---|---|---|---|
xcentr,ycentr | float | uu | position of the center of the arc |
radius | float | uu | radius of the arc |
angl | float | degr | angle of radius to the start relative to x-axis |
arc | float | degr | size of the arc |
linestyle | int | -- | see plot |
returns: | void |
Description
plarc plots an arc, center position and radius in user units. For positive arc, the arc is plotted anti-clockwise. If arc is larger than 360 degrees it is truncated to that value.Examples
plinit PS plarc A4 50 50 "" "" plaxes 0 0 10 10 70 70 "" "" "" plrect 0 0 10 10 plset PENDIA 1 plarc 5 5 3 0 400 DOWN plset PENDIA .5 plarc 5 5 2 0 270 DOWN plset PENDIA .1 plarc 5 5 1 90 270 DOWN plframe 5 3