Plot
These attributes apply to the full Plot. (A Plot contains a tree-like layout of Subplots)
Attribute | Aliases | Default | Type | Description |
---|---|---|---|---|
background_color | background, background_colors, background_colour, backgroundcolors, backgroundcolour, bg, bg_color, bg_colour, bgcolor, bgcolour | `RGB{N0f8}(1.0,1.0,1.0)` | Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant} | Base color for all backgrounds. |
background_color_outside | background_color_outsides, background_colour_outside, background_outside, backgroundcoloroutsides, backgroundcolouroutside, backgroundoutside, bg_color_outside, bg_colour_outside, bg_outside, bgcolor_outside, bgcoloroutside, bgcolour_outside, bgcolouroutside, bgoutside | `:match` | Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant} | Color outside the plot area(s) (`:match` matches `:background_color`). |
display_type | display_types, displaytypes | `:auto` | Symbol | When supported, `display` will either open a GUI window or plot inline. Choose from (`:auto`, `:gui`, or `:inline`). |
dpi | dpis | `100` | Real | Dots Per Inch of output figures. |
extra_kwargs | `:series` | Symbol | Specify for which element extra keyword args are collected or a KW (Dict{Symbol,Any}) to pass a map of extra keyword args which may be specific to a backend. Choose from (`:plot`, `:subplot`, `:series`), defaults to `:series`.\nExample: `pgfplotsx(); scatter(1:5, extra_kwargs=Dict(:subplot=>Dict("axis line shift" => "10pt"))`. | |
extra_plot_kwargs | `Dict{Any, Any}()` | Any | ||
fontfamily | fontfamilys | `sans-serif` | Union{AbstractString, Symbol} | Default font family for title, legend entries, tick labels and guides. |
foreground_color | fg, fg_color, fg_colour, fgcolor, fgcolour, foreground, foreground_colors, foreground_colour, foregroundcolors, foregroundcolour | `:auto` | Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant} | Base color for all foregrounds. |
html_output_format | fmt, format, html_format, html_output_formats, htmlformat, htmloutputformats | `:auto` | Symbol | When writing html output, what is the format? `:png` and `:svg` are currently supported. |
inset_subplots | floating, inset | `nothing` | AbstractVector{Tuple{Any, Any}} | Optionally pass a vector of (parent,bbox) tuples which are the parent layout and the relative bounding box of inset subplots. |
layout | layouts | `1` | Union{Integer, Tuple{Integer, Integer}, AbstractLayout} | Number of subplot, grid dimensions, layout (for example `grid(2,2)`), or the return from the `@layout` macro. This builds the layout of subplots. |
link | links | `:none` | Symbol | How/whether to link axis limits between subplots. Values: `:none`, `:x` (x axes are linked by columns), `:y` (y axes are linked by rows), `:both` (x and y are linked), `:all` (every subplot is linked together regardless of layout position). |
overwrite_figure | clearfig, clf, overwrite, overwrite_figures, overwritefigures, reuse | `true` | Bool | Should we reuse the same GUI window/figure when plotting (true) or open a new one (false). |
plot_title | plot_grid_title, plot_titles, plotgridtitle, plottitles, sgtitle, subplot_grid_title, subplotgridtitle, suptitle | `` | AbstractString | Whole plot title (not to be confused with the title for individual subplots). |
plot_titlefontcolor | plot_titlefontcolors, plottitlefontcolors | `:match` | Any | |
plot_titlefontfamily | plot_titlefontfamilys, plottitlefontfamilys | `:match` | Any | |
plot_titlefonthalign | plot_titlefonthaligns, plottitlefonthaligns | `:hcenter` | Any | |
plot_titlefontrotation | plot_titlefontrotations, plottitlefontrotations | `0.0` | Any | |
plot_titlefontsize | plot_titlefontsizes, plottitlefontsizes | `16` | Any | |
plot_titlefontvalign | plot_titlefontvaligns, plottitlefontvaligns | `:vcenter` | Any | |
plot_titleindex | plot_titleindexs, plottitleindexs | `0` | Any | |
plot_titlelocation | plot_titlelocations, plottitlelocations | `:center` | Any | |
plot_titlevspan | plot_titlevspans, plottitlevspans | `0.05` | Real | Vertical span of the whole plot title (fraction of the plot height). |
pos | `(0, 0)` | Tuple{Integer, Integer} | (left_px, top_px) position of the GUI window (note: currently unimplemented). | |
show | display, gui, shows | `false` | Bool | Should this command open/refresh a GUI/display ? Allows to display plots in scripts or functions without explicitly calling `display`. |
size | sizes, windowsize, wsize | `(600, 400)` | Tuple{Integer, Integer} | (width_px, height_px) of the whole Plot. |
tex_output_standalone | tex_output_standalones, texoutputstandalones | `false` | Bool | When writing tex output, should the source include a preamble for a standalone document class. |
thickness_scaling | thickness_scalings, thicknessscalings | `1` | Real | Scale for the thickness of all line elements like lines, borders, axes, grid lines, ... defaults to 1. |
warn_on_unsupported | warn, warn_on_unsupporteds, warnonunsupporteds | `true` | Bool | Warn on unsupported attributes, series types and marker shapes. |
window_title | window_titles, windowtitle, windowtitles, wtitle | `Plots.jl` | AbstractString | Title of the standalone gui-window. |
(Automatically generated: Wed, 13 Nov 2024 18:10:51)