plot-XPSCoreLine-missing-method: plot

plot,XPSCoreLine,missing-methodR Documentation

plot

Description

method to plot objects of class XPSCoreLine or XPSSample

Usage

## S4 method for signature 'XPSCoreLine,missing'
plot(
  x,
  type = "l",
  ltype = "solid",
  color = "black",
  main = x@Symbol,
  xlim = NULL,
  ylim = NULL,
  labels = TRUE,
  xlab = x@units[1],
  ylab = x@units[2],
  ...
)

Arguments

x

The XPS numeric matrix containing a XPS CoreLine to be plotted

type

character "l", "p", "b" for line, points or both

ltype

character, "solid", "dashed"... pattern of the line

color

character, "black", "red", "green"... color for the data to be plotted

main

character, title of the plot

xlim

numeric, range(X) limits of the X-data

ylim

numeric, range(Y) limits of the Y-data

labels

logical TRUE to plot axis numbers

xlab

character "X axis label"

ylab

character "Y axis label"

...

additional parameters for plot function, see par()

y

missing Xdata, Ydata are contained in the XPSCoreLine object

Examples

## Not run: 
 plot(test[["C1s"]]) #plot the XPSCoreline

## End(Not run)

GSperanza/RxpsG_2.3-1 documentation built on Feb. 11, 2024, 5:09 p.m.