plot.trkset: Plot a set stellar objects

Description Usage Arguments Details See Also Examples

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

1
2
3
4
5
6
7
## 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

1
2
3
4
5
6
  ## 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)

stellaR documentation built on May 2, 2019, 2:45 a.m.