plot.trkset {stellaR}R Documentation

Plot a set stellar objects

Description

Plot a set of evolutionary tracks from objects of classes trkset, and hbset, or a set of isochrones from object of class isoset.

Usage

## S3 method for class 'trkset'
plot(x, add=FALSE, col=1, lty=1, xlim=NULL, ylim=NULL, ...)
## S3 method for class 'hbset'
plot(x, add=FALSE, col=1, lty=1, xlim=NULL, ylim=NULL, ...)
## S3 method for class 'isoset'
plot(x, add=FALSE, col=1, lty=1, xlim=NULL, ylim=NULL, ...)
     

Arguments

x

an object of class trkset, hbset

, or isoset.

add

a logical value indicating whether the plot should be added to an existing device.

col

the colors for lines. Multiple colors can be specified so that each track can be given its own color. If there are fewer colors than tracks they are recycled in the standard fashion.

lty

the line types. Multiple types can be specified so that each track can be given its own type. If there are fewer type than tracks they are recycled in the standard fashion.

xlim

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.

ylim

the y limits of the plot.

...

further arguments passed to plotAstro.

Details

For each object X contained in the input of class trkset, hbset, or isoset the contents of the vectors X$data$logTe and X$data$logL are plotted by a call to plotAstro. Sensible values for the axes ranges, major ticks and labels are chosen.

See Also

plotAstro.

Examples

  ## Not run: 
  trkset <- getTrkSet(c(0.7, 0.9, 1.1), 0.002, 0.25, 1.7, 0)

  ### check return value from CDS
  if(!is.na(trkset)[1]) plot(trkset)
## End(Not run)


[Package stellaR version 0.3-4 Index]