similar to: I want axes that cross

Displaying 20 results from an estimated 10000 matches similar to: "I want axes that cross"

2009 Feb 14
1
Mann Whitney test
Hi, I have a statistical question. To apply the Mann Whitney test to compare a pair of vectors, they must to have the same length ? Thanks, Rodrigo [[alternative HTML version deleted]]
2009 Feb 14
2
superscript
Dear R-users. I'm struggeling to fix the superscript of a label of a figure axis. For some reason R doesn't recognize the "hat" symbol. plot(1,1,xlab="ligth intensity (PAR)",ylab=expression("mass Pteridium rhizomes" (gr/0.25m^2))) A very similiar scriptline does not give any problem at all: plot(1,1,xlab=expression("balsa plot basal
2009 Mar 23
1
Axes in 3D plots
I am wondering if anyone knows how to change or rotate the default axes on a 3D scatterplot. I would like to change which sides of the cube the 3 axes are displayed on. Many thanks, Leah Gerber [[alternative HTML version deleted]]
2005 Jun 15
2
Plotting second axes outside xyplot
Hi all, I'm trying to find a way to get xyplot to produce a second set of axes outside the right hand side of the graph. This is my progress so far: EE <- equal.count(ethanol$E, number=9, overlap=1/4) xyplot(NOx ~ C | EE, data = ethanol, prepanel = function(x, y) prepanel.loess(x, y, span = 1), xlab = "Compression Ratio", ylab = "NOx (micrograms/J)",
2004 Aug 10
1
date axes and formats in levelplot
Hi all (and particularly Deepayan), A while back Deepayan helped me with the query in the text below (thanks again). Specifically it was about changing the way that dates plotted on the axes of lattice plots. While this works using xyplot, everything comes apart when I use levelplot. The axis labels on the date axis are shown as the integer representation of the date (number of seconds since
2010 Jul 28
2
Axes=F and plotting dual y axes
Howdy. Been running into a bit of trouble with plotting. Seems that axes=F is not "working". Whenever I plot (either a dataframe or xts/zoo series) and I set axes=F along with xlab/ylab="" I still get the default axes printed in my chart. Consider this: #Create some sample data, both 50 units of blah series2 = c(1:50) series1 = rep(25:74) testdf1 = as.data.frame(series1)
2005 Nov 28
1
Use of axis() in conjunction with plot(..., axes=F)
Colleagues On occasion, I want to control either tick marks or labels in axes different from the defaults created with "axes=T" in the plot command. If I invoke "axes=F" and axis(n), I can do so. However, the axes produced by axis() differ slightly from those produced within plot. I have "bty" in par set to "l" (i.e., left and bottom axes
2010 May 06
3
Supressing axes 3 and 4 when using plot()
Is there a way of doing this? I'm using plot() to produce a scatter of my data, but it routinely defaults to plotting 2 sets of x axes and 2 y axes. I'd like to not plot the upper and rightmost axes. I can use 'axes=F', and then manually add axes with 'axis', but then the newly created axes do not intercept. TIA, Dan
2004 Aug 30
1
axes=F with pairs()
If I want to fiddle with the axes, I normally plot things like this for instance plot(1:5,axes=F) axis(2,labels=letters[1:5]) BUT, if I want to do remove the axes from a scatter plot matrix using i.e. pairs(cbind(runif(10),runif(10)),axes=F) I get Error in plot.default(x[, j], x[, i], xlab = "", ylab = "", axes = FALSE, : formal argument "axes" matched by
2005 Nov 22
2
change axis format for different panels in xyplot in lattice
Dear R users, My apologies for a simple question for which I suspect there is a simple answer that I have yet to find. I'd like to plot panels in lattice with different graphical parameters for the axes. For example, the code x<-rnorm(100) y<-rnorm(100) z<-c(rep(1,50), rep(2,50)) library(lattice) xyplot(y~x|z) plots two panels with the default black axes. Running the following
2008 Aug 08
1
Axes in filled.contour plots
I am attempting to create a contour plot using R with this code: > contour <- as.matrix(read.csv("contour.csv", row.names=1, header=TRUE)) > library(gplots) > filled.contour(contour, main="Flume 1 Flow Velocities") Now this produces the image/plot that I am looking for perfectly. However, the both axes only go from 0 to 1 instead on of using the row and column
2007 Jan 11
3
Three horizontal axes OR Two axes on same side?
Dear list: I need to reproduce a plot with three different horizontal axes. I know how to make plot with two different horizontal axes (one above, one below) using axis(): axis(1, ....) axis(3, ....) However, I don't know how to produce two axes on the same side of the plot. Any pointers or examples? -- R. Jimenez
2008 Sep 24
2
rgl: ellipse3d with axes
Last week I asked about data ellipses with rgl:::ellipse3d() with lines showing the principal axes. (The goal is a visual demonstration of PCA as a rotation of variable space to component space.) I was trying, unsuccessfully, to use princomp() to generate the PCA axes and plot them using segments3d: > > PC <- princomp(trees) > > sdev <- PC$sdev # component standard
2002 Mar 19
3
plot with the axes at xlim and ylim
I'd like to make a plot with the axes drawn at the values of xlim and ylim. The default plot draws the axes slightly outside these values. I have been experimenting with the par(mgp) setting, but specifying par(mgp=c(2,0,-1)) gives me "invalid value specified for graphics parameter "mgp".". A more complicated mathod that almost seems to work is doing the plot with
2010 Dec 22
3
Estimate "between-axes" vs "within-axes heterogeneity of multivariate matrices
Hi! My question(s) in the end might be silly but I am no expert on this, so here it goes: Noy-Meir (1973), Pielou (1984) and a few others have pointed to non-centered PCA being in some cases useful. They clearly explain that "it is the case" when multi-dimensional data display distinct clusters (which have zero, or near-zero, projections in some subset of the axes) and the task is
2008 Dec 09
1
controlling axes in plot.cuminc (cmprsk library)
Dear R-help list members, I am trying to create my own axes when plotting a cumulative incidence curve using the plot.cuminc function in the CMPRSK library. The default x-axis places tick marks and labels at 0, 20, 40, 60, and 80 (my data has an upper limit of 96), whereas I want them at my own specified locations. Here is my example code: library(cmprsk) attach(MYDATA) MYCUMINC <-
2009 Aug 12
2
Plotting Hints - how to add minor tics on axes
Using the standard plotting routine in R, i.e. no special packages, is there a way to add in minor tics to the axes? Also, is there a way to make sure the major axes labels are at the origin? When I'm looking at a plot, the major axes labels are present, but it looks like they start a bit away from the origin on the plot. Thanks again for any info and feedback.
2010 Nov 10
3
Plot Axes
R community, I am creating a bivariate return level plot by adding calculated return period values as lines onto an existing plot using the following code with the points representing the return periods. plot(H2,D2,pch="+",axes=TRUE) points(H.10,D.10, type="l",col="blue") points(H.20,D.20, type="l",col="green") points(H.50,D.50,
2011 Aug 25
2
axes start at end of plot
Hello all, I used the following script to generate a plot, but when I try to place axes, the axes start at the end of my plot and continue off the plot; the attached image shows what happens when I try to generate axes. library(fields) as.matrix(read.table("Matrix.txt", sep="\t"))->x #the matrix is a square matrix measuring 104x104; it was too large to attach #on left:
2010 Feb 23
5
axes limits in do3d
Does anybody know how to change the axes limits in do3d in made4? This is the code I have tried: do3d(sub, x=2, y=1, z=3, pch="+", col="darkgreen", ylim=c(0,4), xlim=c(0,140) ) But it doesn't seem to change the limits of the x and y axes as I would expect. I've also tried lab statements but can't seem to achieve the scales that I want. Any ideas would be much