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)`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant} Base 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`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Color outside the plot area(s) (`:match` matches `:background_color`).
display_typedisplay_types, displaytypes`:auto`SymbolWhen supported, `display` will either open a GUI window or plot inline. Choose from (`:auto`, `:gui`, or `:inline`).
dpidpis`100`RealDots Per Inch of output figures.
extra_kwargs`:series`SymbolSpecify 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
fontfamilyfontfamilys`sans-serif`Union{AbstractString, Symbol}Default 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`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Base 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`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.
layoutlayouts`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.
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_grid_title, plot_titles, plotgridtitle, plottitles, sgtitle, subplot_grid_title, subplotgridtitle, suptitle``AbstractStringWhole plot title (not to be confused with the title for individual subplots).
plot_titlefontcolorplot_titlefontcolors, plottitlefontcolors`:match`Any
plot_titlefontfamilyplot_titlefontfamilys, plottitlefontfamilys`:match`Any
plot_titlefonthalignplot_titlefonthaligns, plottitlefonthaligns`:hcenter`Any
plot_titlefontrotationplot_titlefontrotations, plottitlefontrotations`0.0`Any
plot_titlefontsizeplot_titlefontsizes, plottitlefontsizes`16`Any
plot_titlefontvalignplot_titlefontvaligns, plottitlefontvaligns`:vcenter`Any
plot_titleindexplot_titleindexs, plottitleindexs`0`Any
plot_titlelocationplot_titlelocations, plottitlelocations`:center`Any
plot_titlevspanplot_titlevspans, plottitlevspans`0.05`RealVertical 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).
showdisplay, gui, shows`false`BoolShould this command open/refresh a GUI/display ? Allows to display plots in scripts or functions without explicitly calling `display`.
sizesizes, windowsize, wsize`(600, 400)`Tuple{Integer, Integer}(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`RealScale 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`AbstractStringTitle of the standalone gui-window.

(Automatically generated: Tue, 19 Nov 2024 18:38:44)