arccircle

arccircle(x0, y0, radius, start_angle, end_angle; z0=0, inc=2, gdataset=false)

Parameters

  • x0: center X
  • y0: center Y
  • radius: radius of the circle.
  • start_angle: angle to first point on arc (clockwise of X-positive)
  • end_angle: angle to last point on arc (clockwise of X-positive)

Keywords

  • z0: center Z. Optional, if not provided the output is flat 2D
  • inc: the largest step in degrees along the arc. Default is 2 degree
  • gdataset: Returns a GDAL IGeometry even when input are GMTdataset or Matrix

Returns

A GMT dataset or a GDAL IGeometry