plotAstro {stellaR} | R Documentation |
Plot function for stellar objects
Description
Draw a scatter plot in the active graphics window.
Usage
plotAstro(x, y, type="l", xlab="", ylab="", xi=(max(x)-min(x))/5,
yi=(max(y)-min(y))/5, xmt=3, ymt=3, revX=FALSE, revY=FALSE,
xlim=NULL, ylim=NULL, cex=1.0, cex.axis=1.3, cex.lab=1.5,
add=FALSE, ...)
Arguments
x , y |
the |
type |
1-character string giving the type of plot desired. The
following values are possible: |
xlab |
a label for the x axis, default to empty string. |
ylab |
a label for the y axis, default to empty string. |
xi |
major ticks spacing for x axis. |
yi |
major ticks spacing for y axis. |
xmt |
number of minor ticks between two major ticks for x axis. |
ymt |
number of minor ticks between two major ticks for y axis. |
revX |
a logical value indicating whether the x axis should be reversed. |
revY |
a logical value indicating whether the y axis should be reversed. |
xlim |
the x limits (x1, x2) of the plot.
The default value, |
ylim |
the y limits of the plot. |
cex |
the amount by which plotting text and symbols should be magnified relative to the default. |
cex.axis |
the magnification to be used for axis annotation
relative to the current setting of |
cex.lab |
the magnification to be used for x and y labels
relative to the current setting of |
add |
a logical value indicating whether the plot should be added to an existing device. |
... |
further arguments passed to low level plot functions. |
See Also
Examples
## Not run:
trk <- getTrk(0.9, 0.002, 0.25, 1.7, 0)
### check return value from CDS
if(!is.na(trk)[1]) plot(trk)
## End(Not run)