Plot

These attributes apply to the full Plot. (A Plot contains a tree-like layout of Subplots)

AttributeAliasesDefaultTypeDescription
background_colorbackground, background_colors, background_colour, backgroundcolors, backgroundcolour, bg, bg_color, bg_colour, bgcolor, bgcolour`RGB{N0f8}(1.0,1.0,1.0)`Color TypeBase color for all backgrounds.
background_color_outsidebackground_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_typedisplay_types, displaytypes`auto`Symbol (`:auto`, `:gui`, or `:inline`)When supported, `display` will either open a GUI window or plot inline.
dpidpis`100`NumberDots 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 backendDefault: `:series`. Example: `pgfplotsx(); scatter(1:5, extra_kwargs=Dict(:subplot=>Dict("axis line shift" => "10pt"))`
extra_plot_kwargs
fontfamilyfontfamilys`sans-serif`String or SymbolDefault font family for title, legend entries, tick labels and guides
foreground_colorfg, fg_color, fg_colour, fgcolor, fgcolour, foreground, foreground_colors, foreground_colour, foregroundcolors, foregroundcolour`auto`Color TypeBase color for all foregrounds.
html_output_formatfmt, format, html_format, html_output_formats, htmlformat, htmloutputformats`auto`SymbolWhen writing html output, what is the format? `:png` and `:svg` are currently supported.
inset_subplotsfloating, 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
layoutlayouts`1`Integer (number of subplots), NTuple{2,Integer} (grid dimensions), AbstractLayout (for example `grid(2,2)`), or the return from the `@layout` macroThis builds the layout of subplots.
linklinks`none`SymbolHow/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_figureclearfig, clf, overwrite, overwrite_figures, overwritefigures, reuse`true`BoolShould we reuse the same GUI window/figure when plotting (true) or open a new one (false).
plot_titleplot_titles, plottitles``StringTitle for the whole plot (not the subplots)
plot_titlefontcolorplot_titlefontcolors, plottitlefontcolors
plot_titlefontfamilyplot_titlefontfamilys, plottitlefontfamilys
plot_titlefonthalignplot_titlefonthaligns, plottitlefonthaligns
plot_titlefontrotationplot_titlefontrotations, plottitlefontrotations
plot_titlefontsizeplot_titlefontsizes, plottitlefontsizes
plot_titlefontvalignplot_titlefontvaligns, plottitlefontvaligns
plot_titleindexplot_titleindexs, plottitleindexs
plot_titlelocationplot_titlelocations, plottitlelocations
plot_titlevspanplot_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)
showdisplay, gui, shows`false`BoolShould this command open/refresh a GUI/display? This allows displaying in scripts or functions without explicitly calling `display`
sizesizes, windowsize, wsize`(600, 400)`NTuple{2,Int}(width_px, height_px) of the whole Plot
tex_output_standalonetex_output_standalones, texoutputstandalones`false`BoolWhen writing tex output, should the source include a preamble for a standalone document class.
thickness_scalingthickness_scalings, thicknessscalings`1`NumberScale for the thickness of all line elements like lines, borders, axes, grid lines, ... defaults to 1.
warn_on_unsupportedwarn, warn_on_unsupporteds, warnonunsupporteds`true`BoolWarn on unsupported attributes, series types and marker shapes
window_titlewindow_titles, windowtitle, windowtitles, wtitle`Plots.jl`StringTitle of the standalone gui-window.

(Automatically generated: 2022-08-13T17:00:03.641)