[R] ggplot2 axis
Rui Barradas
ru|pb@rr@d@@ @end|ng |rom @@po@pt
Sat May 9 19:00:43 CEST 2020
Hello,
I cannot reproduce this. If I do
db <- iris[3:5]
names(db) <- c("length", "width", "support")
and change 'lenght' to 'length' in the ggplot call both axis are plotted.
But the code is not reproducible, db is missing. Can you post the output of
dput(head(db, 30))
in a next mail?
Hope this helps,
Rui Barradas
Às 12:29 de 09/05/20, João Marreiros escreveu:
> Dear users,
> Does anyone had a problem with ggplot concerning the axis not being
> shown? (see attachment)
>
> ggplot(db, aes (x = lenght, y = width, color = support)) +
> geom_point(size=2) +
> stat_ellipse() +
> labs(x="Lenght (mm)", y="width (mm)", title="Boxplot", color =
> "Support")
>
> I'm using the following version: ggplot2 3.3.0.
>
> Thank you for your help.
>
> Joao M.
>
>
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list