plot.trk: Plot stellar track or isochrones objects

View source: R/plot.R

plot.trkR Documentation

Plot stellar track or isochrones objects

Description

Plot one evolutionary track or one isochrone extracted from objects of classes trk, hb, zahb, iso.

Usage

## S3 method for class 'trk'
plot(x, add=FALSE, ...)
## S3 method for class 'hb'
plot(x, add=FALSE, ...)
## S3 method for class 'zahb'
plot(x, add=FALSE, ...)
## S3 method for class 'iso'
plot(x, add=FALSE, ...)
     

Arguments

x

an object of classes trk, hb, zahb, or iso.

add

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

...

further arguments passed to plotAstro.

Details

The contents of the vectors x$data$logTe and x$data$logL are plotted by a call to plotAstro. Sensible values for the axes major ticks and labels are chosen.

See Also

plotAstro.

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)


stellaR documentation built on April 11, 2022, 5:09 p.m.