theme_gnuplot {ggnuplot} | R Documentation |
gnuplot theme for ggplot2
Description
This theme makes ggplot2 look like gnuplot.
It is based on ggplot2::theme_linedraw()
and has inward ticks.
Usage
theme_gnuplot(
base_size = 11,
base_family = "",
base_line_size = base_size/22,
base_rect_size = base_size/22
)
Arguments
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 |
See Also
The default ggplot2 themes and ggplot2::theme()
Examples
library(ggplot2)
ggplot(iris, aes(Sepal.Width, Sepal.Length, color = Species)) +
geom_point() +
scale_color_gnuplot() +
scale_x_gnuplot() +
scale_y_gnuplot() +
theme_gnuplot()
[Package ggnuplot version 0.1.0 Index]