Learn R Programming

stellaR (version 0.3-6)

plot.trk: 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 trk
plot(x, add=FALSE, ...)
# S3 method for hb
plot(x, add=FALSE, ...)
# S3 method for zahb
plot(x, add=FALSE, ...)
# S3 method for 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

Run this code

  if (FALSE) {
  trk <- getTrk(0.9, 0.002, 0.25, 1.7, 0)

  ### check return value from CDS
  if(!is.na(trk)[1]) plot(trk) }

Run the code above in your browser using DataLab