search for: perspaxis

Displaying 3 results from an estimated 3 matches for "perspaxis".

2004 Mar 22
1
persp(), axis font size
Is there a way to adjust the font size for axis labels when using persp()? The parameter cex works for adjusting the global font size, but I can't seem to make cex.lab or cex.axis work for adjusting these values independently. Or, is there a preferred method for making surface plots in R? I'm using R version 1.8. Thanks, Manuel
2010 May 26
1
persp(); help with 'tck' option
Hi All, I'm using 'tck' option to *reduce* the length of tick marks but it is not working, can anyone please tell me where I'm going wrong... require(graphics) require(grDevices) x <- seq(-10, 10, length= 30) y <- x f <- function(x,y) { r <- sqrt(x^2+y^2); 10 * sin(r)/r } z <- outer(x, y, f) z[is.na(z)] <- 1 # 'bg' works but 'tck' is not showing
2000 Feb 08
1
DEC cc doesn't like c++ comments (PR#416)
...lse ... - } // if ((drawLabels == 1) && (labelDistance > 0)) + } /* if (gotLabel) */ + } /* if (method == 0) else ... */ + } /* if ((drawLabels == 1) && (labelDistance > 0)) */ else { GPolyline(ns, xxx, yyy, USER, dd); } @@ -1889,7 +1889,7 @@ static void PerspAxis(double *x, double *y, double *z, int axis, int axisType, DevDesc *dd) { Vector3d u1, u2, u3, v1, v2, v3; - double tickLength = .03; // proportion of axis length + double tickLength = .03; /* proportion of axis length */ double min, max, *range; double axp[3]; int...