Skip to content

Commit

Permalink
Fix some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas White committed Sep 24, 2023
1 parent aafd5d5 commit 62e2c31
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion R/cieplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#' to `FALSE`)
#' @param ciebg should the colour background be plotted for CIEXYZ plot?
#' (defaults to `TRUE`)
#' @param margin Deprecated. Please use the standard [par()] method for custom margins.
#' @inheritParams triplot
#'
#' @examples
Expand Down
7 changes: 1 addition & 6 deletions R/tetraplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#' @param out.lwd,out.lcol graphical parameters for the tetrahedral outline.
#' @param type accepts a vector of length 1 or 2 with 'p' for points and/or 'l'
#' for lines from the point to the base of the tetrahedron.
#' @param margin Deprecated. Please use the standard [par()] method for custom margins.

#' @inheritParams triplot
#'
Expand Down Expand Up @@ -64,11 +63,7 @@ tetraplot <- function(tcsdata, theta = 45, phi = 10, perspective = FALSE,
range = c(1, 2), r = 1e6, zoom = 1,
achro = TRUE, achro.col = "grey", achro.size = 1, achro.line = FALSE, achro.lwd = 1, achro.lty = 3,
tetrahedron = TRUE, vert.cex = 1, vert.range = c(1, 2), out.lwd = 1, out.lcol = "darkgrey",
type = "p", labels = FALSE, gamut = FALSE, margin = NULL, ...) {
if (!missing("margin")) {
message("The 'margin' argument is deprecated, and will be ignored. See ?par() for guidance on
setting margins in the standard manner.")
}
type = "p", labels = FALSE, gamut = FALSE, ...) {

trange <- function(x, newmin, newmax) {
(((x - min(x)) * (newmax - newmin)) / (max(x) - min(x))) + newmin
Expand Down
2 changes: 0 additions & 2 deletions man/cieplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions man/tetraplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 62e2c31

Please sign in to comment.