Displaying 20 results from an estimated 4000 matches similar to: "Rotate numbers on the Y axis on a multiple Boxplot chart"
2006 Jun 09
1
Rotate values on Y axis
Hi,
I have been working through one of the examples on the FAQ about
rotating the labels on the x axis, I need to do the same but for the y
axis. I have managed to change some of the code, but I am still not
getting there, there is still something wrong. My syntax is as follows:
> par(mar = c(5, 7, 4, 2) + 0.1)
> plot(1 : 8, yaxt = "n", ylab = "")
> axis(2,
2012 Aug 01
3
Changing labels positions in two graphics
Hi,
I?ve got some problems with the labels of the x-axis
I,ve got two factors with two categories each: sex (males and females) and
area (central and peninsulae),
but because of the lenngth in the graphic just appeared two of the four
labels.
I thought the solution could be rotate it 45? degrees, I have read it can be
done with "srt" or "rotate", but I don?t know hoe to use
2006 Feb 08
2
rotating axis / mtext labels
Hello list.
Is it possible to use par(srt=45) to rotate text by 45 degrees along the
x-axis of a plot. Using:
<code>
x_names<-c("C57 Nv", "C57 Vacc", "129 Nv", "129 Vacc", "IFNgR Nv", "IFNgR Vacc")
par(srt=45)
mtext(font=2, x_names, side=1, line=1, at=l, cex=1.2)
par(srt=0)
</code>
doesn't seem to work in R 2.2.0
2000 May 18
0
Control of box and staple width in boxplot()
I''d like to make the following changes (differences are from R1.0.1):
boxplot.default()
1c1
< function (x, ..., range = 1.5, width = NULL, varwidth = FALSE,
---
> function (x, ..., range = 1.5, width = NULL, varwidth = FALSE,
boxwex=0.8,
37c37,38
< bxp(groups, width, varwidth = varwidth, notch = notch,
---
> bxp(groups, width, varwidth = varwidth,
2006 Jan 23
1
too-large notches in boxplot (PR #7690)
PR #7690 points out that if the confidence intervals (+/-1.58
IQR/sqrt(n)) in a boxplot with notch=TRUE are larger than the
hinges -- which is most likely to happen for small n and asymmetric
distributions -- the resulting plot is ugly, e.g.:
set.seed(1001)
npts <- 5
X <- rnorm(2*npts,rep(3:4,each=npts),sd=1)
f <- factor(rep(1:2,each=npts))
boxplot(X~f)
boxplot(X~f,notch=TRUE)
I can
2024 Aug 16
1
boxplot notch
Dear community
I tried the following code using geom_boxplot() and notch=TRUE. Does anyone
know if the command ?notch=TRUE? is at the wrong place in my special code
construct?
Without notch=TRUE the code provides the planned ggplot.
Kind regards
Sibylle
Code:
MS1<- MS %>% filter(QI_A!="NA") %>% droplevels()
MS1$Jahr<-as.factor(MS1$Jahr)
MS1s <-
2006 Oct 09
1
boxplot, notches, etc.
Sorry to repost this, but it looks like it's getting
buried in r-help (originally posted October 5: my experience
says that if it hasn't been answered by then it won't be).
I wouldn't bother, but I'm worried that r-devel might be
better, *and* a previous e-mail of mine on the subject in
January also seemed to get buried.
Synopsis: boxplot notches look weird when notches
are
2024 Aug 16
1
boxplot notch
I don't see anything obviously wrong here. There may be something
subtle, but we probably won't be able to help without a reproducible
example ...
On 2024-08-16 9:24 a.m., SIBYLLE ST?CKLI via R-help wrote:
> Dear community
>
>
>
> I tried the following code using geom_boxplot() and notch=TRUE. Does anyone
> know if the command ?notch=TRUE? is at the wrong place in
2003 Jul 31
1
Mac OS 10 (not X11) failure to rotate symbols (PR#3602)
In the following code the arrow symbols do not rotate with the text on
the Mac OS window, however the do rotate on X11 port on Mac OS.
(R version 1.71)
x <- c(0,10.)
y <- c(0,10.)
offset <- 3
centre <- 5
plot(x,y, xlim=range(x), ylim=range(y),type="n", xlab="",ylab="",
main="",xaxt="n",yaxt="n")
for (i in (seq(0, 340,
2006 Oct 05
1
unexpected behavior of boxplot(x, notch=TRUE, log="y")
A function I've been using for a while returned a surprising [to me,
given the data] error recently:
Error in plot.window(xlim, ylim, log, asp, ...) :
Logarithmic axis must have positive limits
After some digging I realized what was going on:
x <- c(10460.97, 10808.67, 29499.98, 1, 35818.62, 48535.59, 1, 1,
42512.1, 1627.39, 1, 7571.06, 21479.69, 25, 1, 16143.85, 12736.96,
2024 Aug 16
2
boxplot notch
Thanks Ben,
Here the reproducible example.
It works without notch=TRUE, but provides an error with notch=TURE
Error in `geom_boxplot()`:
! Problem while converting geom to grob.
? Error occurred in the 1st layer.
Caused by error in `ans[ypos] <- rep(yes, length.out = len)[ypos]`:
! replacement has length zero
Run `rlang::last_trace()` to see where the error occurred.
Warning message:
In
2010 Oct 18
1
boxplot ranked x labels
Dear R users,
x-values (EI) = Adw, EG1, LA1, Ad1, LA2, LA3...(14 levels, insect
stages)
y-valus = antpop
within the boxplot function x-values are ordered alphabetically
Idea: x-values ranked by list order (insect stage: Egg stage 1 is
followed by Larvae 1 and not by Egg stage 2 as it would be in an
alphabetically order)
Problems with the order(tapply()) function: variable lengths
2004 Mar 01
3
boxplot notches
Dear list members,
Can anyone tell me how the notches in boxplot(Y~X,notch=T) are
calculated? What do these notches represent exactly? I?d suppose they
are Conficence Intervals for the median, but I?ve also been told they
might show Least Significant Difference (LSD) equivalents.
I would very much appreciate any help from you.
Best regards
Chris.
2002 Jul 02
4
Samba 2.2.4 and PRINT$
Hi,
I'm having difficulty configuring Printing with Samba 2.2.4 and Windows
2000 clients.
The samba installations is running as a PDC against LDAP. All the
sharing of network file systems seem to be working perfectly..
I have a share
[printers]
path = /usr/spool/samba
guest ok = yes
printable = yes
browsable = no
guest ok = yes
writable =
2008 Oct 06
3
horizontal boxplot + xlim
Hi there,
I get a strange behaviour of a boxplot with the following code. There seems to
be a problem with the xlim-parameter. Did I do anything wrong? What else can I
do to force the boxplot to have a defined x-range?
x <- rnorm(100)
boxplot(x, notch=TRUE, xlab=parameter, xlim <- c(-4,4), horizontal = TRUE)
Antje
2024 Aug 16
1
boxplot notch
That's not really a reprex Sibylle.? I did try to use it to see if I
could work out what you were trying to do and help but there is so much
in there that I suspect is distraction from the notch issue and its
error message.
Please can you give us something stripped of all unecessary things and
tell us what you want?
Something like data that we can read as a tribble() or from a dput() of
1999 Jan 12
0
A patch for boxplot.R
[this was sent to R-help-owner instead of R-help.
why on earth ??!???!?
well, I took the liberty to cut the long citation.. MM]
Dear Yusuke
These changes look interesting.
Have you considered being able to specify a different shading or crosshatching
for each box. I can't see how you can do this at present. You can get
different colours but of course this is no good for black
2001 Jun 11
1
rotate ylab
Hello,
I have an expression for the y axis, which I wish to rotate by 90
degrees (so that this label has the same orientation as for the x
axis). Thought the graphical parameter crt (or srt) would do the trick,
but haven't had any joy so far. Any ideas?
(Using Version 1.2.2, linux, redhat 7.0)
Cheers,
Rob.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2005 Jun 30
2
How to rotate the axisnames in a BARPLOT
Hi all,
- how can I do a barplot with rotated axis labels? I've seen the example for
just a plot in the FAQ, but I'll missing the coordinates to plot my text at
the right position beneath the bars.
Is there any (easy?) solution?
- how can I set the y-axis in a barplot to logarithmic scale?
Many thanks in advance!
Best Regards
Tom
--
2006 Oct 17
2
plotting text with very small negative rotation hangs (PR#9301)
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig308510A16A445880F353C5C9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
to trigger the bug:
plot(0:1,0:1)
text(0.5,0.5,"abc",srt=3D-1e-9)
this doesn't happen for positive, small srt,
or for negative srt with magnitude greater
than about 1e-8 (the example in