search for: axistype

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

2000 Sep 07
3
plot with two y axes
...om S-plus under Windows to R under Linux. My immediate aim is to produce a scatter plot with two y-axes with different scales. That can be done in S-plus with a command of the following form: guiPlot( PlotType="Scatter", DataSet="execon", Columns="years,hstart,ship", AxisType="Multiple Y" ), where years, hstart, and ship are columns in the dataset called execon. Is there an equivalent command in R? I'd be most grateful for any suggestions. --- John P. Burkett Department of Economics University of Rhode Island 10 Chafee Road, Suite 3 Kingston, RI 02881-0...
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)
...; 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 nint, i; -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...