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 astMark, which is supplied with a set of physical coordinates at which to place the markers:

#include "ast.h"
#define NCOORD 2
#define NMARK 10
double in[ NCOORD ][ NMARK ];
int type;

...

astMark( plot, NMARK, NCOORD, NMARK, in, type );

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 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council