Description Usage Arguments See Also Examples
This theme makes ggplot2 look like gnuplot.
It is based on ggplot2::theme_linedraw()
and has inward ticks.
1 2 3 4 5 6 | theme_gnuplot(
base_size = 11,
base_family = "",
base_line_size = base_size/22,
base_rect_size = base_size/22
)
|
base_size |
base font size |
base_family |
base font family |
base_line_size |
base size for line elements |
base_rect_size |
base size for rect elements |
The default ggplot2 themes and ggplot2::theme()
1 2 3 4 5 6 7 8 | library(ggplot2)
ggplot(iris, aes(Sepal.Width, Sepal.Length, color = Species)) +
geom_point() +
scale_color_gnuplot() +
scale_x_gnuplot() +
scale_y_gnuplot() +
theme_gnuplot()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.