Draw a scatter plot in the active graphics window.
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, …)
the x
and y
arguments provide the x and y
coordinates for
the plot.
1-character string giving the type of plot desired. The
following values are possible: "p"
for points, "l"
for lines (default value), "b"
for both
points and lines,
"c"
for empty points joined by lines, "o"
for overplotted
points and lines, "s"
and "S"
for stair steps and "h"
for histogram-like vertical lines. Finally, "n"
does not
produce any points or lines.
a label for the x axis, default to empty string.
a label for the y axis, default to empty string.
major ticks spacing for x axis.
major ticks spacing for y axis.
number of minor ticks between two major ticks for x axis.
number of minor ticks between two major ticks for y axis.
a logical value indicating whether the x axis should be reversed.
a logical value indicating whether the y axis should be reversed.
the x limits (x1, x2) of the plot.
The default value, NULL
, indicates that the range of the
finite values to be plotted should be used.
the y limits of the plot.
the amount by which plotting text and symbols should be magnified relative to the default.
the magnification to be used for axis annotation
relative to the current setting of cex
.
the magnification to be used for x and y labels
relative to the current setting of cex
.
a logical value indicating whether the plot should be added to an existing device.
further arguments passed to low level plot functions.
# NOT RUN {
# }
# 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)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab