File:Simple-boxplot.svg

Uploaded by ARAKI Satoru
Upload date 2024-12-24T15:19:58Z
MIME type image/svg+xml
Dimensions 326 × 267 px
File size 53.8 KB

Summary

Description
English: A simple example of box-and-whisker plot.
Date
Source Own work
Author ARAKI Satoru
 W3C-validity not checked.
library(ggplot2)
p <- 
  ggplot(iris, aes(x=paste("I.", Species), y=Petal.Length)) +
  labs(
    title="Iris Data",
    x="Species",
    y="Petal Length (cm)") + 
  theme(
    axis.text.x = element_text(face = "italic"),
  ) +
  geom_boxplot(
    colour="darkmagenta", fill="darkmagenta",
    alpha=.25)
svg(filename="simple-boxplot.svg", width=4.53, height=3.71)
plot(p)
dev.off()

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

3 April 2016

image/svg+xml

55,067 byte

9efaf2cd9dd15c7f92a78af6b237cd8cd2db6803

Category:Box plots Category:CC-BY-SA-4.0 Category:Ggplot2 Category:Images with R source code Category:Self-published work Category:Statistics Category:Unchecked SVG validity