Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

triax.abline

Lines for triangle plot


Description

Display lines on a triangle plot.

Usage

triax.abline(b=NULL,r=NULL,l=NULL,col=par("col"),lty=par("lty"),
  cc.axes=FALSE)

Arguments

b

Lines relating to the bottom axis.

r

Lines relating to the right axis.

l

Lines relating to the left axis.

col

Color(s) of the lines.

lty

Type(s) of the lines.

cc.axes

Clockwise/counterclockwise axes and ticks.

Details

triax.abline displays one or more lines on a triangle plot. Lines are oriented in the conventional way, horizontal for the left axis, slanting up to the right for the right axis and up to the left for the bottom axis. If cc.axes is TRUE, the orientation is up-left for the left axis, horizontal for the right axis and up-right for the bottom axis.

Remember to call triax.plot with no.add=FALSE and restore the graphics parameters as in the example or the lines will not be placed properly.

Value

nil

Author(s)

Jim Lemon

See Also

Examples

triax.return<-triax.plot(data.frame(bottom=0.4,right=0.3,left=0.3),
  main="Triax ablines",no.add=FALSE)
 triax.abline(l=0.3,col="red")
 triax.abline(r=0.3,col="green")
 triax.abline(b=0.4,col="blue")
 par(triax.return$oldpar)

plotrix

Various Plotting Functions

v3.8-1
GPL (>= 2)
Authors
Jim Lemon, Ben Bolker, Sander Oom, Eduardo Klein, Barry Rowlingson, Hadley Wickham, Anupam Tyagi, Olivier Eterradossi, Gabor Grothendieck, Michael Toews, John Kane, Rolf Turner, Carl Witthoft, Julian Stander, Thomas Petzoldt, Remko Duursma, Elisa Biancotto, Ofir Levy, Christophe Dutang, Peter Solymos, Robby Engelmann, Michael Hecker, Felix Steinbeck, Hans Borchers, Henrik Singmann, Ted Toal, Derek Ogle, Darshan Baral, Ulrike Groemping, Bill Venables
Initial release
2021-01-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.