search for: axes

Displaying 20 results from an estimated 2480 matches for "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
2008 May 22
1
plot 7 * 3 matrix on DIN A4 pdf
...an=50,sd=10)),rnorm(mean(100,mean=50,sd=10))) par(mfcol=c(7,3)) par(pch=19) par(pty="m") #"s" makes a square plot par(cex=.1) par(cex.axis=7) par(omi=c(1,1,1,1)) axistick<-c(0,10,20,30,40,50,60,70,80,90,100) par(mar=c(3, 5, 0, 0) + 0.1) plot(x,xlim=c(0,50),ylim=c(0,100),axes = FALSE) axis(2,ylab='',at=axistick) box(lty=1) plot(x,xlim=c(0,50), ylim=c(0,100),axes = FALSE) axis(2) box(lty=1) plot(x, xlim=c(0,50),ylim=c(0,100),axes = FALSE) axis(2) box(lty=1) plot(x,xlim=c(0,50), ylim=c(0,100),axes = FALSE) axis(2) box(lty=1) plot(x,xlim=c(0,50), ylim=c(0,100),axes...
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 a...
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) testdf...
2008 Sep 25
3
usb interface support
...the root path and reinstalled the application to the user directory -thanks to mr. vitamin. But the effect is the same - the usb interface has not be enabled although the driver works correctly, see jstest /dev/input/js0 -> Driver version is 2.1.0. Joystick (IPACS Ikarus Gamecommander) has 7 axes (X, Y, Z, Rx, Ry, Rz, Throttle) and 6 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn). Testing ... (interrupt to exit) Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 Butt Axes: 0: 0 1: 0 2: 0 3: 0 4: 0...
2009 Feb 13
2
I want axes that cross
Hello, everybody. A student asked me a howto question I can't answer. We want the length of the drawn axes to fill the full width and height of the plot, like so: | | * | * | * ---|----------------- However, when we use plot with axes=F and then use the axis commands to add the axes, they do not cross over each other. We get | * | *...
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 = "",...
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 d...
2006 Jan 23
1
too-large notches in boxplot (PR #7690)
...k[i] <- bplt(at[i], wid=width[i], stats= z$stats[,i], out = z$out[z$group==i], conf = z$conf[,i], notch= notch, xlog = xlog, i = i) ! if (any(!conf.ok)) warning("some confidence limits > hinges: notches truncated") axes <- is.null(pars$axes) if(!axes) { axes <- pars$axes; pars$axes <- NULL } if(axes) { --- 231,243 ---- xysegments <- segments } for(i in 1:n) ! bplt(at[i], wid=width[i], stats= z$stats[,i], out = z$out[z$group==i],...
2011 Jan 03
4
how to invert the axes in the wireframe() plot
Dear List, I am using the wireframe function in the lattice package, and I am wondering if it is possible to invert the default axes orientation for x and y axes... what parameter should I look for? Best regards, Simone Gabbriellini
2009 Jul 15
3
Axes origins and labeling
I have re-labeled tick marks on the x axis. The problem is that by using axes=FALSE, the axes disappears and when they are called back using axis(side=1)..etc. the axis on sides 1 and 2 do not meet at the bottom left corner of the graph. I would also like to have the 3rd and 4th axes in there as well, all meeting in their respective corners. par(mfrow=c(1,2)) gut<-c(&qu...
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
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 mat...
2006 May 26
9
What syntax is this? belongs_to :Person
so when I''m reading the pick axe book second edition I don''t see anything like the syntax you see people using in rails code. Specifically when you see. belongs_to :Person has_many :Phones etc these are methods on ActiveRecord right? Why is this invocation syntax never described in the Pick Axe book? I do see things like attr_reader :some_attribute etc but you
2006 Jul 10
3
10^x instead 10EX on plot axes. How?
Hi, I'm drawing a very simple plot with both axes logarithmic (default base 10). Example: vec=c(1,10,100,1000,10000,100000,1000000,10000000) plot(vec,vec,log="xy") The axes on the plot now show the technical notation like 1E+3 but I would prefer to have it the notation 10 ^3 i.e. with the exponent here 3 superscript (raised). Any help v...
2008 Aug 08
1
Axes in filled.contour plots
...ur 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 names. To rectify this I tried this: > filled.contour(contour, axes=FALSE, frame.plot=TRUE) > matrix.axes <- function(contour) + x <- (1:dim(contour)[1] - 1) / (dim(contour)[1] - 1) > axis(side=1, at=x, labels=rownames(conto...
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.
2001 Sep 07
2
biplot
...As far as I can see, I follow the directions but either it doesn't do what I want it to do, it gives fairly arcane error messages or both. All I want to do is plot two separate data sets to see how different they are from each other with respect to two metrics that are represented by the two axes. My first problem is that biplot forms two axes: the bottom and left axes for the former data set and the top and right axes for the latter set. Invariably, these axes are scaled differently so it look like the data sets are easy to distinguish until I realise that they are plotted on different...
2007 Jun 19
4
plot only x- and y-axis with origin, no box()
hi all, I'm trying for quite some time to have an x- and y-axis, but no entire box. >plot(..,axes=F) >axis(1) >axis(2) Gives this, but their axes do not go to the origin. Quite a number of people find this gap between the two axes disturbing. Has anyone an idea how to let these axes go to the origin? thank you in advance [[alternative HTML version deleted]]
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...