Series

These attributes apply to individual series (lines, scatters, heatmaps, etc)

AttributeAliasesDefaultTypeDescription
arrowarrows`nothing`Union{Bool, PlotsBase.Arrows.Arrow}Defines arrowheads that should be displayed at the end of path line segments (just before a NaN and the last non-NaN point). Used in quiverplot, streamplot, or similar.
bar_edges`false`BoolAlign bars to edges (true), or centers (the default) ?
bar_positionbar_positions, barpositions`:overlay`SymbolChoose from `:overlay` (default), `:stack`. (warning: may only be partially implemented).
bar_widthbar_widths, barwidths`nothing`Real Width of bars in data coordinates. When `nothing`, chooses based on `x`.
binsbin, nb, nbin, nbins`:auto`Union{Integer, Symbol, Tuple{Integer, Integer}, AbstractVector}Default is :auto (the Freedman-Diaconis rule). For histogram-types, defines the approximate number of bins to aim for, or the auto-binning algorithm to use (:sturges, :sqrt, :rice, :scott or :fd).\nFor fine-grained control pass a Vector of break values, e.g. `range(minimum(x), stop = maximum(x), length = 25)`.
colorbar_entrycolorbar_entrys, colorbarentrys`true`BoolInclude this series in the color bar? Set to `false` to exclude.
connections`nothing`Any
contour_labelsclabels, clabs, contourlabels`false`BoolShow labels at the contour lines ?
contours`false`BoolAdd contours to the side-grids of 3D plots? Used in surface/wireframe.
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"))`.
fill_zfill_zs, fillz, fillzs, fz, sc, surfacecolor, surfacecolour, surfcolor, surfcolour`nothing`AbstractMatrixMatrix of the same size as z matrix, which specifies the color of the 3D surface.
fillalphafa, falpha, fillalphas, fillopacity, fopacity, fα`nothing`RealThe alpha/opacity override for the fill area. `nothing` (the default) means it will take the alpha value of fillcolor.
fillcolorfc, fcolor, fcolour, fillcolors, fillcolour`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Color of the filled area of path or bar types. `:match` will take the value from `:seriescolor`.
fillrangefill_between, fillbetween, fillranges, fillrng, fillto, frange`nothing`Union{Real, AbstractVector}Fills area between fillrange and `y` for line-types, sets the base for `bar`, `sticks` types, and similar for other types.
fillstylefillstyles`nothing`SymbolStyle of the fill area. `nothing` (the default) means solid fill. Choose from :/, :\\, :|, :-, :+, :x.
groupg, grouping, groups`nothing`AbstractVectorData is split into a separate series, one for each unique value in `group`.
hoverhovers`nothing`AbstractVector{AbstractString}Text to display when hovering over each data point.
labellab, labels`:auto`AbstractStringThe label for a series, which appears in a legend. If empty, no legend entry is added.
levelslevs, nlev, nlevels`15`Union{Integer, AbstractVector}Singleton for number of contours or iterable for contour values. Determines contour levels for a contour type.
line_zline_zs, linez, linezs, lz, zline`nothing`Union{Function, AbstractVector}z-values for each series line segment, which correspond to the color to be used from a linecolor gradient. Note that for N points, only the first N-1 values are used (one per line-segment).
linealphala, lalpha, linealphas, lineopacity, lopacity, lα`nothing`RealThe alpha/opacity override for the line. `nothing` (the default) means it will take the alpha value of linecolor.
linecolorlc, lcolor, lcolour, linecolors, linecolour`:auto`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Color of the line (for path and bar stroke). `:match` will take the value from `:seriescolor`, (though histogram/bar types use `:black` as a default).
linestylelinestyles, ls, s, style`:solid`SymbolStyle of the line (for path and bar stroke). Choose from [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
linewidthlinewidths, lw, w, width`:auto`RealWidth of the line (in pixels).
marker_zmarker_zs, markerz, markerzs, mz, zcolor`nothing`Union{Function, AbstractVector}z-values for each series data point, which correspond to the color to be used from a markercolor gradient (`f(x,y,z) -> z_value` or `f(x,y) -> z_value`).
markeralphama, malpha, markeralphas, markeropacity, mopacity, mα`nothing`RealThe alpha/opacity override for the marker interior. `nothing` (the default) means it will take the alpha value of markercolor.
markercolormarkercolors, markercolour, mc, mcolor, mcolour`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Color of the interior of the marker or shape. `:match` will take the value from `:seriescolor`.
markershapemarkershapes, shape`:none`Union{Symbol, Shape, AbstractVector}Choose from [:none, :auto, :circle, :rect, :diamond, :hexagon, :cross, :xcross, :utriangle, :dtriangle, :rtriangle, :ltriangle, :pentagon, :heptagon, :octagon, :star4, :star5, :star6, :star7, :star8, :vline, :hline, :+, :x, :uparrow, :downarrow].
markersizemarkersizes, ms, msize`4`Union{Real, AbstractVector}Size (radius pixels) of the markers.
markerstrokealphamarkerstrokealphas, markerstrokeopacity, msa, msalpha, msopacity, msα`nothing`RealThe alpha/opacity override for the marker stroke (border). `nothing` (the default) means it will take the alpha value of markerstrokecolor.
markerstrokecolormarkerstrokecolors, markerstrokecolour, msc, mscolor, mscolour`:match`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}Color of the marker stroke (border). `:match` will take the value from `:foreground_color_subplot`.
markerstrokestylemarkerstrokestyles`:solid`SymbolStyle of the marker stroke (border). Choose from [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot].
markerstrokewidthmarkerstrokewidths, msw, mswidth`1`RealWidth of the marker stroke (border) in pixels.
normalizenorm, normalized, normalizes, normed`false`Union{Bool, Symbol}Histogram normalization mode. Possible values are: false/:none (no normalization, default), true/:pdf (normalize to a discrete PDF, where the total area of the bins is 1), :probability (bin heights sum to 1) and :density (the area of each bin, rather than the height, is equal to the counts - useful for uneven bin sizes).
permutepermutes`:none`Tuple{Symbol, Symbol}Permutes data and axis properties of the axes given in the tuple, e.g. (:x, :y).
primaryprimarys`true`BoolDoes this count as a 'real series'? For example, you could have a path (primary), and a scatter (secondary) as two separate series, maybe with different data (see `sticks` recipe for an example). The secondary series will get the same color, etc as the primary.
quivergradient, quiver2d, quivers, vectorfield, velocity`nothing`Union{Tuple{AbstractVector, AbstractVector}, AbstractVector}The directional vectors U,V which specify velocity/gradient vectors for a quiver plot.
ribbonrib, ribbons`nothing`Union{Real, AbstractVector}Creates a fillrange around the data points.
series_annotationsseries_ann, series_annotation, series_anns, seriesann, seriesannotation, seriesanns, text, texts, txt, txts`nothing`Union{AbstractString, PlotText, AbstractVector}These are annotations which are mapped to data points/positions.
seriesalphaalpha, opacity, seriesalphas, α`nothing`RealThe alpha/opacity override for the series. `nothing` (the default) means it will take the alpha value of the color.
seriescolorc, cmap, color, colormap, colour, seriescolors`:auto`Union{Integer, Symbol, ColorSchemes.ColorScheme, Colorant}The base color for this series. `:auto` (the default) will select a color from the subplot's `color_palette`, based on the order it was added to the subplot. Also describes the colormap for surfaces.
seriestypelinetype, lt, seriestypes, st, t, typ`:path`SymbolThis is the identifier of the type of visualization for this series. Choose from [:none, :line, :path, :steppre, :stepmid, :steppost, :sticks, :scatter, :heatmap, :hexbin, :barbins, :barhist, :histogram, :scatterbins, :scatterhist, :stepbins, :stephist, :bins2d, :histogram2d, :histogram3d, :density, :bar, :hline, :vline, :contour, :pie, :shape, :image, :path3d, :scatter3d, :surface, :wireframe, :contour3d, :volume, :mesh3d] or any series recipes which are defined.
show_empty_binsshow_empty, showempty, showemptybins`false`BoolWhether empty bins in a 2D histogram are colored as 0 (true), or transparent (the default).
smoothreg, regression, smooths`false`BoolAdd a regression line ?
stridestr, strides, surf_str, surface_stride, surfacestride, surfstr, wirefame_stride, wirefamestride`(1, 1)`Any
subplotsp, splt, subplots, subplt`:auto`Union{Integer, PlotsBase.Subplots.Subplot}The subplot that this series belongs to.
weights`nothing`AbstractVectorUsed in histogram types for weighted counts.
xxs`nothing`AnyInput data (first dimension).
xerrorxerr, xerrorbar, xerrors`nothing`Union{Tuple{AbstractVector, AbstractVector}, AbstractVector}`x` (horizontal) error relative to x-value. If 2-tuple of vectors, the first vector corresponds to the left error (and the second to the right).
yys`nothing`AnyInput data (second dimension).
yerrorerr, errorbar, yerr, yerrorbar, yerrors`nothing`Union{Tuple{AbstractVector, AbstractVector}, AbstractVector}`y` (vertical) error relative to y-value. If 2-tuple of vectors, the first vector corresponds to the bottom error (and the second to the top).
zzs`nothing`AnyInput data (third dimension). May be wrapped by a `Surface` for surface and heatmap types.
z_orderz_orders, zorders`:front`Union{Integer, Symbol}:front (default), :back or index of position where 1 is furthest in the background.
zerrorzerr, zerrorbar, zerrors`nothing`Any

(Automatically generated: Wed, 13 Nov 2024 17:13:41)