next up previous 264
Next: Plotting Geodesic Curves
Up: Producing Graphical Output (Plots)
Previous: The Plot Model

Plotting Symbols

The simplest form of plotting is to draw symbols (termed markers) at a set of points. This is performed by AST_MARK, which is supplied with a set of physical coordinates at which to place the markers:

      INCLUDE 'AST_PAR'
      INTEGER NCOORD, NMARK, TYPE, STATUS
      DOUBLE PRECISION IN( NMARK, NCOORD )

      STATUS = 0

      ...

      CALL AST_MARK( PLOT, NMARK, NCOORD, NMARK, IN, TYPE, STATUS )

Here, NMARK specifies how many markers to plot and NCOORD specifies how many coordinates are being supplied for each point.32 The array IN supplies the coordinates and the integer TYPE specifies which type of marker to plot.


next up previous 264
Next: Plotting Geodesic Curves
Up: Producing Graphical Output (Plots)
Previous: The Plot Model

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council