Subplot

These attributes apply to settings for individual Subplots.

AttributeAliasesDefaultTypeDescription
annotationcolorannotationcolors`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Annotations color.
annotationfontfamilyannotationfontfamilys`:match`Union{AbstractString, Symbol}Font family of annotations.
annotationfontsizeannotationfontsizes`14`IntegerFont pointsize of annotations.
annotationhalignannotationhaligns`:hcenter`Symbolhorizontal alignment of annotations. Choose from (:hcenter, :left, :right, :center).
annotationrotationannotationrotations`0.0`RealRotation of annotations in degrees.
annotationsann, annotate, annotation, anns`Any[]`Union{Tuple{Real, Real, Union{AbstractString, Tuple, PlotText}}, AbstractVector{Tuple}}(x,y,text) tuple(s), where text can be String, PlotText (created with `text(args...)`), or a tuple of arguments to `text` (e.g., `("Label", 8, :red, :top)`). Add one-off text annotations at the (x,y) coordinates.
annotationvalignannotationvaligns`:vcenter`SymbolVertical alignment of annotations. Choose from (:vcenter, :top, :bottom, :center).
aspect_ratioaspect_ratios, aspectratio, aspectratios, axis_ratio, axisratio, ratio`:auto`Union{Real, Symbol}Plot area is resized so that 1 y-unit is the same size as `aspect_ratio` x-units. With `:none`, images inherit aspect ratio of the plot area. Use `:equal` for unit aspect ratio.
background_color_insidebackground_color_insides, background_colour_inside, background_inside, backgroundcolorinsides, backgroundcolourinside, backgroundinside, bg_color_inside, bg_colour_inside, bg_inside, bgcolor_inside, bgcolorinside, bgcolour_inside, bgcolourinside, bginside`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Background color inside the plot area (under the grid) (`:match` matches :background_color_subplot`).
background_color_subplotbackground_color_subplots, background_colour_subplot, background_subplot, backgroundcolorsubplots, backgroundcoloursubplot, backgroundsubplot, bg_color_subplot, bg_colour_subplot, bg_subplot, bgcolor_subplot, bgcolorsubplot, bgcolour_subplot, bgcoloursubplot, bgsubplot`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Base background color of the subplot (`:match` matches `:background_color`).
bottom_marginbottom_margins, bottommargin, bottommargins`:match`Union{Real, Symbol, Tuple}Specifies the extra padding on the bottom of the subplot (`:match` matches `:margin`).
cameracam, cameras, view_angle, viewangle`(30, 30)`Tuple{Real, Real}Sets the view angle (azimuthal, elevation) for 3D plots.
climscbar_lims, cbarlims, clim, climits, color_limits, colorlimits`:auto`Union{Function, Symbol, Tuple{Real, Real}}Fixes the limits of the colorbar: values, `:auto`, or a function taking series data in and returning a NTuple{2,Real}.
color_palettecolor_palettes, colorpalettes, palette`:auto`Union{Symbol, AbstractVector{Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}}}Iterable (cycle through) or color gradient (generate list from gradient) or `:auto` (generate a color list using `Colors.distiguishable_colors` and custom seed colors chosen to contrast with the background). The color palette is a color list from which series colors are automatically chosen.
colorbarcb, cbar, colorbars, colorkey`:legend`Union{Bool, Symbol}Show the colorbar ? A symbol specifies a colorbar position. Choose from (`:none`, `:best`, `:right`, `:left`, `:top`, `:bottom`, `:legend`): `legend` matches legend value (note: only some may be supported in each backend).
colorbar_continuous_values`Float64[]`Any
colorbar_discrete_values`Any[]`Any
colorbar_fontfamilycolorbar_fontfamilys, colorbarfontfamilys`:match`Union{AbstractString, Symbol}Font family of colorbar entries.
colorbar_formattercolorbar_formatters, colorbarformatters`:auto`Union{Function, Symbol}Choose from (:scientific, :plain, :none, :auto), or a method which converts a number to a string for tick labeling.
colorbar_scalecolorbar_scales, colorbarscales`:identity`SymbolScale of the colorbar axis. Choose from [:identity, :ln, :log2, :log10, :asinh, :sqrt].
colorbar_tickfontcolorcolorbar_tickfontcolors, colorbartickfontcolors`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Font color of colorbar tick entries.
colorbar_tickfontfamilycolorbar_tickfontfamilys, colorbartickfontfamilys`:match`Union{AbstractString, Symbol}String or Symbol. Font family of colorbar tick labels.
colorbar_tickfonthaligncolorbar_tickfonthaligns, colorbartickfonthaligns`:hcenter`Any
colorbar_tickfontrotationcolorbar_tickfontrotations, colorbartickfontrotations`0.0`Any
colorbar_tickfontsizecolorbar_tickfontsizes, colorbartickfontsizes`8`IntegerFont pointsize of colorbar tick entries.
colorbar_tickfontvaligncolorbar_tickfontvaligns, colorbartickfontvaligns`:vcenter`Any
colorbar_ticks`:auto`Union{Nothing, Bool, Symbol, Tuple{AbstractVector{Real}, AbstractVector{AbstractString}}, AbstractVector{Real}}Tick values, (tickvalues, ticklabels), `:auto`/`true`, or `:none`/`false`/`nothing` (ticks disabled).
colorbar_titlecb_title, cbar_title, cbartitle, cbtitle, colorbar_titles, colorbartitle, colorbartitles, colorkey_title, colorkeytitle``AbstractStringTitle of colorbar.
colorbar_title_locationcolorbar_title_locations, colorbartitlelocations`:center`Any
colorbar_titlefontcolorcolorbar_titlefontcolors, colorbartitlefontcolors`:match`Any
colorbar_titlefontfamilycolorbar_titlefontfamilys, colorbartitlefontfamilys`:match`Any
colorbar_titlefonthaligncolorbar_titlefonthaligns, colorbartitlefonthaligns`:hcenter`Any
colorbar_titlefontrotationcolorbar_titlefontrotations, colorbartitlefontrotations`0.0`Any
colorbar_titlefontsizecolorbar_titlefontsizes, colorbartitlefontsizes`10`Any
colorbar_titlefontvaligncolorbar_titlefontvaligns, colorbartitlefontvaligns`:vcenter`Any
extra_kwargs`Dict{Any, Any}()`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"))`.
fontfamily_subplotfontfamily_subplots, fontfamilysubplots`:match`Any
foreground_color_subplotfg_color_subplot, fg_colour_subplot, fg_subplot, fgcolor_subplot, fgcolorsubplot, fgcolour_subplot, fgcoloursubplot, fgsubplot, foreground_color_subplots, foreground_colour_subplot, foreground_subplot, foregroundcolorsubplots, foregroundcoloursubplot, foregroundsubplot`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Base foreground color of the subplot (`:match` matches :foreground_color`).
foreground_color_titlefg_color_title, fg_colour_title, fg_title, fgcolor_title, fgcolortitle, fgcolour_title, fgcolourtitle, fgtitle, foreground_color_titles, foreground_colour_title, foreground_title, foregroundcolortitles, foregroundcolourtitle, foregroundtitle, titlecolor`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Color of subplot title (`:match` matches :foreground_color_subplot`).
framestyleaxes_style, axesstyle, border, border_style, borderstyle, box, box_style, boxstyle, frame, frame_style, framestyle, framestyles`:axes`SymbolStyle of the axes frame. Choose from [:box, :semi, :axes, :origin, :zerolines, :grid, :none].
left_marginleft_margins, leftmargin, leftmargins`:match`Union{Real, Symbol, Tuple}Specifies the extra padding to the left of the subplot (`:match` matches `:margin`).
legend_background_colorbackground_color_legend, background_colour_legend, background_legend, backgroundcolorlegend, backgroundcolourlegend, backgroundlegend, bg_color_legend, bg_colour_legend, bg_legend, bgcolor_legend, bgcolorlegend, bgcolour_legend, bgcolourlegend, bglegend, legend_background_colors, legendbackgroundcolor, legendbackgroundcolors`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Background color of the legend (`:match` matches :background_color_subplot`).
legend_columnlegend_columns, legendcolumn, legendcolumns`1`IntegerNumber of columns in the legend. `-1` stands for maximum number of columns (horizontal legend).
legend_fontlegend_fonts, legendfont, legendfonts`Font("sans-serif", 8, :hcenter, :vcenter, 0.0, RGB{N0f8}(0.0,0.0,0.0))`FontFont of legend items.
legend_font_colorlegend_font_colors, legendfontcolor, legendfontcolors`:match`Any
legend_font_familylegend_font_familys, legendfontfamily, legendfontfamilys`:match`Union{AbstractString, Symbol}Font family of legend entries.
legend_font_halignlegend_font_haligns, legendfonthalign, legendfonthaligns`:hcenter`SymbolFont horizontal alignment of legend entries. Choose from (:hcenter, :left, :right, :center).
legend_font_pointsizelegend_font_pointsizes, legendfontpointsize, legendfontpointsizes, legendfontsize`8`IntegerFont pointsize of legend entries.
legend_font_rotationlegend_font_rotations, legendfontrotation, legendfontrotations`0.0`RealFont rotation of legend entries.
legend_font_valignlegend_font_valigns, legendfontvalign, legendfontvaligns`:vcenter`SymbolFont vertical alignment of legend entries. Choose from (:vcenter, :top, :bottom, :center).
legend_foreground_colorfg_color_legend, fg_colour_legend, fg_legend, fgcolor_legend, fgcolorlegend, fgcolour_legend, fgcolourlegend, fglegend, foreground_color_legend, foreground_colour_legend, foreground_legend, foregroundcolorlegend, foregroundcolourlegend, foregroundlegend, legend_foreground_colors, legendforegroundcolor, legendforegroundcolors`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Foreground color of the legend (`:match` matches :foreground_color_subplot`).
legend_positionkey, leg, legend, legend_positions, legendposition, legendpositions, legends`:best`Union{Bool, Symbol, Tuple{Real, Real}}Show the legend ? Can also be a (x,y) tuple or Symbol (legend position) or angle (angle,in-out) tuple. Bottom left corner of legend is placed at (x,y).\nChoose from (`:none`, `:best`, `:inline`, `:inside`, `:legend`) or any valid combination of `:(outer ?)(top/bottom ?)(right/left ?)`, i.e.: `:top`, `:topright`, `:outerleft`, `:outerbottomright` ... (note: only some may be supported in each backend).
legend_titlekey_title, keytitle, label_title, labeltitle, leg_title, legend_titles, legendtitle, legendtitles, legtitle`nothing`AbstractStringLegend title.
legend_title_fontlegend_title_fonts, legendtitlefont, legendtitlefonts`Font("sans-serif", 11, :hcenter, :vcenter, 0.0, RGB{N0f8}(0.0,0.0,0.0))`FontFont of the legend title.
legend_title_font_colorlegend_title_font_colors, legendtitlefontcolor, legendtitlefontcolors`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Font color of the legend title.
legend_title_font_familylegend_title_font_familys, legendtitlefontfamily, legendtitlefontfamilys`:match`Union{AbstractString, Symbol}Font family of the legend title.
legend_title_font_halignlegend_title_font_haligns, legendtitlefonthalign, legendtitlefonthaligns`:hcenter`SymbolFont horizontal alignment of the legend title. Choose from (:hcenter, :left, :right, :center).
legend_title_font_pointsizelegend_title_font_pointsizes, legendtitlefontpointsize, legendtitlefontpointsizes, legendtitlefontsize`11`IntegerFont pointsize the legend title.
legend_title_font_rotationlegend_title_font_rotations, legendtitlefontrotation, legendtitlefontrotations`0.0`RealFont rotation of the legend title.
legend_title_font_valignlegend_title_font_valigns, legendtitlefontvalign, legendtitlefontvaligns`:vcenter`SymbolFont vertical alignment of the legend title. Choose from (:vcenter, :top, :bottom, :center).
marginmargins`1.0mm`Union{Real, Tuple}Number multiplied by `mm`, `px`, etc... or Tuple `(0, :mm)`. Base for individual margins... not directly used. Specifies the extra padding around subplots.
projectionproj, projections`:none`Union{AbstractString, Symbol}`3d` or `polar`.
projection_typeproj_type, projection_types, projectiontypes, projtype`:auto`Symbol3d plots projection type: :auto (backend dependent), :persp(ective), :ortho(graphic).
right_marginright_margins, rightmargin, rightmargins`:match`Union{Real, Symbol, Tuple}Specifies the extra padding to the right of the subplot (`:match` matches `:margin`).
subplot_indexsubplot_indexs, subplotindexs`-1`IntegerInternal (not set by user). Specifies the index of this subplot in the Plot's `plt.subplot` list.
titletitles``AbstractStringSubplot title.
titlefontcolortitlefontcolors`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Color Type. Font color of subplot title.
titlefontfamilytitlefontfamilys`:match`Union{AbstractString, Symbol}Font family of subplot title.
titlefonthaligntitlefonthaligns`:hcenter`SymbolFont horizontal alignment of subplot title. Choose from (:hcenter, :left, :right, :center).
titlefontrotationtitlefontrotations`0.0`RealFont rotation of subplot title.
titlefontsizetitlefontsizes`14`IntegerFont pointsize of subplot title.
titlefontvaligntitlefontvaligns`:vcenter`SymbolFont vertical alignment of subplot title. Choose from (:vcenter, :top, :bottom, :center).
titlelocationtitle_align, title_alignment, title_loc, title_location, title_pos, title_position, titlealign, titlealignment, titleloc, titlelocation, titlelocations, titlepos, titleposition`:center`SymbolPosition of subplot title. Choose from (`:left`, `:center`, `:right`).
top_margintop_margins, topmargin, topmargins`:match`Union{Real, Symbol, Tuple}Specifies the extra padding on the top of the subplot (`:match` matches `:margin`).

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