similar to: Supressing axes 3 and 4 when using plot()

Displaying 20 results from an estimated 11000 matches similar to: "Supressing axes 3 and 4 when using plot()"

2007 Dec 19
1
lattice: axes drawn when relation='free' or relation='sliced' but not when relation='same'
I'm using lattice to draw a multi-panel figure: 5 rows, 4 columns. The y-axis for each panel is determined by yaxs <- list(draw=T , labels=c(0, '.5', '1', '1.5') , at=c(0, .5, 1, 1.5) , tck=c(.4, 0) , cex=.7 , alternating=2
2011 Feb 16
2
Axis positions
Hi everyone. I would like to modify the axis on my plot. First, I would like to make a plot without the box. so I use : plot(x,y, axes = FALSE, type = 'l') Then, I call : axis(1, tck = -0.02) axis(2, tck = -0.02) to have X and Y axis appear. However, I would like them to join at the origin instead of having a space between the 2 axis. I can't find the parameter to modify to get
2012 Jan 18
2
How do I exactly align the right hand side of "mtext" relative to a plot device? Beyond "adj".
Hi, I have a problem with aligning text which I'm adding to a plot using "mtext". I would like to specify the position of the right hand end of the text string, relative to the device (in the left-right direction). I've been looking at the use of the argument "adj". But this can't be used to specify the rightmost point of the text. Neither does it specify exactly
2009 Dec 28
3
graph shading is overlaying axes
How can I resolve this problem?... As a general example, plot (1:4) polygon(c(0,0,5,5),c(0,5,5,0), border="lavenderblush1", col = "lavenderblush1") ###see how this overlays the axes lines #I have tried... for (k in 1:4) axis(k, lwd.ticks=0, label=F) #...but this misses the corners Any suggestions? -- View this message in context:
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("Full",
2003 Dec 09
3
axes that meet
R v. 1.7.1, Windows 2000. A particular journal wants me to provide scatter plots with no box, but with axes that meet in the lower left corner. It seems as though there must be an easy way of doing this, but my reading the help on plot.default, axis, and box have not provided any clues. I would be most appreciative of any feedback. Thank you, Hank Stevens Dr. Martin Henry H. Stevens,
2009 Feb 03
1
axes
Hello there, Is there a functionality or command that generates axes in the shape of a capital Greek letter gamma (upside down L) ? I use these for making sediment profiles. I have read through help-lists, tried different things and asked several people but never got a satisfactory result. I've tried the following: xx <- c(2,4,6,5.8,5,4,3,1.5,0, 0, 0, 0) yy <- (0:-11) plot(NULL,
2004 Aug 26
1
"o" bty with different axes
Is it possible to create plot bty=o with different scale of left- and right x-axis? In my documents, by typesetting, bty=u looks disruptively. At 2nd: how to frame the whole box (including title and axes labels) and resize to landscape-oriented rectangle? Tomas Bayer
2004 Feb 29
1
stripchart and axes
Hi, I'd like to remove the axes from a plot produced by stripchart(). However, when trying stripchart(..., axes = FALSE), I get the error meassage Error in stripchart(hypokvot1 ~ treatment, "jitter", pch = 1, vert = TRUE, : unused argument(s) (axes ...) using R 1.8.1 on Windows. Can it be done some other way? If not, maybe this functionality can be added to a future version of
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 | * |
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
2004 Oct 21
1
Arrow heads at the end of axes
I would like to have arrow heads at the end of my axes, since I am plotting variable where the absolute amount is irrelevant, there is not supposed to be numbers on the axes. An imperfect example: plot(rnorm(10),bty='l',xaxt='n',yaxt='n',ylab='',xlab='',type='l') abline(h=0) Like this but without, the xaxis and with arrrowheads More like this in
2016 Aug 04
1
findInterval(all.inside=TRUE) for degenerate 'vec' arguments
What should findInterval(x,vec,all.inside=TRUE) return when length(vec)<=1, so there are no inside intervals? R-3.3.0 gives a decreasing map of x->output when length(vec)==1 and -1's when length(vec)==0. Would '0' in all those cases be better? > findInterval(x=c(10, 11, 12), vec=11, all.inside=TRUE, rightmost.closed=FALSE, left.open=FALSE) [1] 1 0 0 >
1997 Aug 21
1
R-alpha: axes & plot boundary
I don't rcall seeing this one reported before: plot(...,axes=F) removes not only the axes, but also the plot boundary. The 'bty' parameter loses its effect completely. getting it back seems to require fiddling with par("usr") and rect() or lines() (Linux, Alpha-3) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200
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]]
2009 Jul 13
1
[PATCH] ocfs2: Add extra credits and access the modified bh in update_edge_lengths.
In normal tree rotation left process, we will never touch the tree branch above subtree_index and ocfs2_extend_rotate_transaction doesn't reserve the credits for them either. But when we want to delete the rightmost extent block, we have to update the rightmost records for all the rightmost branch(See ocfs2_update_edge_lengths), so we have to allocate extra credits for them. What's more,
2007 Apr 20
3
Opinion on R plots: connecting X and Y
Attention R users, especially those that are experienced enough to be opinionated, I need your input. Consider the following simple plot: x <- rnorm(100) y <- rnorm(100) plot(x, y, bty='n') A colleague (and dreaded SAS user) commented that she thought that my plots could be "cleaned up" by connecting the X and Y axes. I know that I can do that with bty='l' but I
2004 Aug 31
2
I've forgotten, why is box("") the default?
I've searched on CRAN for axes, axis, and other terms I've already forgotten, without (re)discovering the reason for S using "non-joining" axes by default, instead of box("l"). MASS points me towards Cleveland (1993) but I don't have ready access to this any more. Could someone give me a one-liner to justify this choice to a sceptic? It's something to do
2017 Jul 26
2
axis() after image.plot() does not work except if points() is inserted between
Thanks... I agree that the problem was explained in the documentation but I can't find a way to have axis() working even manipulating par("plt") or with graphics.reset = TRUE: - adding graphics.reset=TRUE does not allow axis() to be shown; - I see that par()$plt is involved but it is the not sufficient to explain why axis() works because if it is changed by hand, axes are not
2003 Oct 30
1
legend over-prints barplot bar
When I create a bar plot, the legend is obscuring the rightmost bar. I haven't found a setting that appears to affect the positioning of the legend - any tips re moving the legend would be most appreciated. paul sorenson