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)` | Color Type | 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` | Color Type or `:match` (matches `:background_color`) | Color outside the plot area(s) |
display_type | display_types, displaytypes | `auto` | Symbol (`:auto`, `:gui`, or `:inline`) | When supported, `display` will either open a GUI window or plot inline. |
dpi | dpis | `100` | Number | Dots Per Inch of output figures |
extra_kwargs | `series` | Either one of (`:plot`, `:subplot`, `:series`) to 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 | Default: `:series`. Example: `pgfplotsx(); scatter(1:5, extra_kwargs=Dict(:subplot=>Dict("axis line shift" => "10pt"))` | |
extra_plot_kwargs | ||||
fontfamily | fontfamilys | `sans-serif` | String or 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` | Color Type | 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` | nothing or vector of 2-tuple (parent,bbox) | optionally pass a vector of (parent,bbox) tuples which are the parent layout and the relative bounding box of inset subplots |
layout | layouts | `1` | Integer (number of subplots), NTuple{2,Integer} (grid dimensions), AbstractLayout (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_titles, plottitles | `` | String | Title for the whole plot (not the subplots) |
plot_titlefontcolor | plot_titlefontcolors, plottitlefontcolors | |||
plot_titlefontfamily | plot_titlefontfamilys, plottitlefontfamilys | |||
plot_titlefonthalign | plot_titlefonthaligns, plottitlefonthaligns | |||
plot_titlefontrotation | plot_titlefontrotations, plottitlefontrotations | |||
plot_titlefontsize | plot_titlefontsizes, plottitlefontsizes | |||
plot_titlefontvalign | plot_titlefontvaligns, plottitlefontvaligns | |||
plot_titleindex | plot_titleindexs, plottitleindexs | |||
plot_titlelocation | plot_titlelocations, plottitlelocations | |||
plot_titlevspan | plot_titlevspans, plottitlevspans | `0.05` | Number in [0,1] | Vertical span of the whole plot title (fraction of the plot height) |
pos | `(0, 0)` | NTuple{2,Int} | (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? This allows displaying in scripts or functions without explicitly calling `display` |
size | sizes, windowsize, wsize | `(600, 400)` | NTuple{2,Int} | (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` | Number | 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` | String | Title of the standalone gui-window. |
(Automatically generated: 2022-08-13T17:00:03.641)