R/triaxes.R

Defines functions triaxes

Documented in triaxes

triaxes <-
function(lcol = "darkgrey", lty = 2)
{
	lx = 2 / sqrt(3)
	lines(c(lx / 4, lx), c(1 / 2, 0),
	      lty = lty, col = lcol)
	lines(c(3 * lx / 4, 0), c(1 / 2, 0),
		  lty = lty, col = lcol)
	lines(c(lx / 2, lx / 2), c(0, 1),
		  lty = lty, col = lcol)
}

Try the trifield package in your browser

Any scripts or data that you put into this service are public.

trifield documentation built on May 29, 2017, 11:44 p.m.