Subplot
These attributes apply to settings for individual Subplots.
Attribute | Aliases | Default | Type | Description |
---|---|---|---|---|
annotationcolor | annotationcolors | `:match` | Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant} | Annotations color. |
annotationfontfamily | annotationfontfamilys | `:match` | Union{AbstractString, Symbol} | Font family of annotations. |
annotationfontsize | annotationfontsizes | `14` | Integer | Font pointsize of annotations. |
annotationhalign | annotationhaligns | `:hcenter` | Symbol | horizontal alignment of annotations. Choose from (:hcenter, :left, :right, :center). |
annotationrotation | annotationrotations | `0.0` | Real | Rotation of annotations in degrees. |
annotations | ann, 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. |
annotationvalign | annotationvaligns | `:vcenter` | Symbol | Vertical alignment of annotations. Choose from (:vcenter, :top, :bottom, :center). |
aspect_ratio | aspect_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_inside | background_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_subplot | background_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_margin | bottom_margins, bottommargin, bottommargins | `:match` | Union{Real, Symbol, Tuple} | Specifies the extra padding on the bottom of the subplot (`:match` matches `:margin`). |
camera | cam, cameras, view_angle, viewangle | `(30, 30)` | Tuple{Real, Real} | Sets the view angle (azimuthal, elevation) for 3D plots. |
clims | cbar_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_palette | color_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. |
colorbar | cb, 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_fontfamily | colorbar_fontfamilys, colorbarfontfamilys | `:match` | Union{AbstractString, Symbol} | Font family of colorbar entries. |
colorbar_formatter | colorbar_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_scale | colorbar_scales, colorbarscales | `:identity` | Symbol | Scale of the colorbar axis. Choose from [:identity, :ln, :log2, :log10, :asinh, :sqrt]. |
colorbar_tickfontcolor | colorbar_tickfontcolors, colorbartickfontcolors | `:match` | Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant} | Font color of colorbar tick entries. |
colorbar_tickfontfamily | colorbar_tickfontfamilys, colorbartickfontfamilys | `:match` | Union{AbstractString, Symbol} | String or Symbol. Font family of colorbar tick labels. |
colorbar_tickfonthalign | colorbar_tickfonthaligns, colorbartickfonthaligns | `:hcenter` | Any | |
colorbar_tickfontrotation | colorbar_tickfontrotations, colorbartickfontrotations | `0.0` | Any | |
colorbar_tickfontsize | colorbar_tickfontsizes, colorbartickfontsizes | `8` | Integer | Font pointsize of colorbar tick entries. |
colorbar_tickfontvalign | colorbar_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_title | cb_title, cbar_title, cbartitle, cbtitle, colorbar_titles, colorbartitle, colorbartitles, colorkey_title, colorkeytitle | `` | AbstractString | Title of colorbar. |
colorbar_title_location | colorbar_title_locations, colorbartitlelocations | `:center` | Any | |
colorbar_titlefontcolor | colorbar_titlefontcolors, colorbartitlefontcolors | `:match` | Any | |
colorbar_titlefontfamily | colorbar_titlefontfamilys, colorbartitlefontfamilys | `:match` | Any | |
colorbar_titlefonthalign | colorbar_titlefonthaligns, colorbartitlefonthaligns | `:hcenter` | Any | |
colorbar_titlefontrotation | colorbar_titlefontrotations, colorbartitlefontrotations | `0.0` | Any | |
colorbar_titlefontsize | colorbar_titlefontsizes, colorbartitlefontsizes | `10` | Any | |
colorbar_titlefontvalign | colorbar_titlefontvaligns, colorbartitlefontvaligns | `:vcenter` | Any | |
extra_kwargs | `Dict{Any, Any}()` | 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"))`. | |
fontfamily_subplot | fontfamily_subplots, fontfamilysubplots | `:match` | Any | |
foreground_color_subplot | fg_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_title | fg_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`). |
framestyle | axes_style, axesstyle, border, border_style, borderstyle, box, box_style, boxstyle, frame, frame_style, framestyle, framestyles | `:axes` | Symbol | Style of the axes frame. Choose from [:box, :semi, :axes, :origin, :zerolines, :grid, :none]. |
left_margin | left_margins, leftmargin, leftmargins | `:match` | Union{Real, Symbol, Tuple} | Specifies the extra padding to the left of the subplot (`:match` matches `:margin`). |
legend_background_color | background_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_column | legend_columns, legendcolumn, legendcolumns | `1` | Integer | Number of columns in the legend. `-1` stands for maximum number of columns (horizontal legend). |
legend_font | legend_fonts, legendfont, legendfonts | `Font("sans-serif", 8, :hcenter, :vcenter, 0.0, RGB{N0f8}(0.0,0.0,0.0))` | Font | Font of legend items. |
legend_font_color | legend_font_colors, legendfontcolor, legendfontcolors | `:match` | Any | |
legend_font_family | legend_font_familys, legendfontfamily, legendfontfamilys | `:match` | Union{AbstractString, Symbol} | Font family of legend entries. |
legend_font_halign | legend_font_haligns, legendfonthalign, legendfonthaligns | `:hcenter` | Symbol | Font horizontal alignment of legend entries. Choose from (:hcenter, :left, :right, :center). |
legend_font_pointsize | legend_font_pointsizes, legendfontpointsize, legendfontpointsizes, legendfontsize | `8` | Integer | Font pointsize of legend entries. |
legend_font_rotation | legend_font_rotations, legendfontrotation, legendfontrotations | `0.0` | Real | Font rotation of legend entries. |
legend_font_valign | legend_font_valigns, legendfontvalign, legendfontvaligns | `:vcenter` | Symbol | Font vertical alignment of legend entries. Choose from (:vcenter, :top, :bottom, :center). |
legend_foreground_color | fg_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_position | key, 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_title | key_title, keytitle, label_title, labeltitle, leg_title, legend_titles, legendtitle, legendtitles, legtitle | `nothing` | AbstractString | Legend title. |
legend_title_font | legend_title_fonts, legendtitlefont, legendtitlefonts | `Font("sans-serif", 11, :hcenter, :vcenter, 0.0, RGB{N0f8}(0.0,0.0,0.0))` | Font | Font of the legend title. |
legend_title_font_color | legend_title_font_colors, legendtitlefontcolor, legendtitlefontcolors | `:match` | Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant} | Font color of the legend title. |
legend_title_font_family | legend_title_font_familys, legendtitlefontfamily, legendtitlefontfamilys | `:match` | Union{AbstractString, Symbol} | Font family of the legend title. |
legend_title_font_halign | legend_title_font_haligns, legendtitlefonthalign, legendtitlefonthaligns | `:hcenter` | Symbol | Font horizontal alignment of the legend title. Choose from (:hcenter, :left, :right, :center). |
legend_title_font_pointsize | legend_title_font_pointsizes, legendtitlefontpointsize, legendtitlefontpointsizes, legendtitlefontsize | `11` | Integer | Font pointsize the legend title. |
legend_title_font_rotation | legend_title_font_rotations, legendtitlefontrotation, legendtitlefontrotations | `0.0` | Real | Font rotation of the legend title. |
legend_title_font_valign | legend_title_font_valigns, legendtitlefontvalign, legendtitlefontvaligns | `:vcenter` | Symbol | Font vertical alignment of the legend title. Choose from (:vcenter, :top, :bottom, :center). |
margin | margins | `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. |
projection | proj, projections | `:none` | Union{AbstractString, Symbol} | `3d` or `polar`. |
projection_type | proj_type, projection_types, projectiontypes, projtype | `:auto` | Symbol | 3d plots projection type: :auto (backend dependent), :persp(ective), :ortho(graphic). |
right_margin | right_margins, rightmargin, rightmargins | `:match` | Union{Real, Symbol, Tuple} | Specifies the extra padding to the right of the subplot (`:match` matches `:margin`). |
subplot_index | subplot_indexs, subplotindexs | `-1` | Integer | Internal (not set by user). Specifies the index of this subplot in the Plot's `plt.subplot` list. |
title | titles | `` | AbstractString | Subplot title. |
titlefontcolor | titlefontcolors | `:match` | Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant} | Color Type. Font color of subplot title. |
titlefontfamily | titlefontfamilys | `:match` | Union{AbstractString, Symbol} | Font family of subplot title. |
titlefonthalign | titlefonthaligns | `:hcenter` | Symbol | Font horizontal alignment of subplot title. Choose from (:hcenter, :left, :right, :center). |
titlefontrotation | titlefontrotations | `0.0` | Real | Font rotation of subplot title. |
titlefontsize | titlefontsizes | `14` | Integer | Font pointsize of subplot title. |
titlefontvalign | titlefontvaligns | `:vcenter` | Symbol | Font vertical alignment of subplot title. Choose from (:vcenter, :top, :bottom, :center). |
titlelocation | title_align, title_alignment, title_loc, title_location, title_pos, title_position, titlealign, titlealignment, titleloc, titlelocation, titlelocations, titlepos, titleposition | `:center` | Symbol | Position of subplot title. Choose from (`:left`, `:center`, `:right`). |
top_margin | top_margins, topmargin, topmargins | `:match` | Union{Real, Symbol, Tuple} | Specifies the extra padding on the top of the subplot (`:match` matches `:margin`). |
(Automatically generated: Wed, 13 Nov 2024 17:13:41)