Series
These attributes apply to individual series (lines, scatters, heatmaps, etc)
Attribute | Aliases | Default | Type | Description |
---|---|---|---|---|
arrow | arrows | `nothing` | nothing (no arrows), Bool (if true, default arrows), Arrow object, or arg(s) that could be style or head length/widths | 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` | Bool | Align bars to edges (true), or centers (the default)? | |
bar_position | bar_positions, barpositions | `overlay` | Symbol | Choose from `:overlay` (default), `:stack`. (warning: May not be implemented fully) |
bar_width | bar_widths, barwidths | `nothing` | nothing or Number | Width of bars in data coordinates. When nothing, chooses based on x (or y when `orientation = :h`). |
bins | bin, nb, nbin, nbins | `auto` | Integer, NTuple{2,Integer}, AbstractVector or Symbol | 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). For fine-grained control pass a Vector of break values, e.g. `range(minimum(x), stop = maximum(x), length = 25)` |
colorbar_entry | colorbar_entrys, colorbarentrys | `true` | Bool | Include this series in the color bar? Set to `false` to exclude. |
connections | ||||
contour_labels | clabels, clabs, contourlabels | `false` | Bool | Show labels at the contour lines? |
contours | `false` | Bool | Add contours to the side-grids of 3D plots? Used in surface/wireframe. | |
extra_kwargs | `Dict{Any, Any}()` | 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 backend | Default: `:series`. Example: `pgfplotsx(); scatter(1:5, extra_kwargs=Dict(:subplot=>Dict("axis line shift" => "10pt"))` | |
fill_z | fill_zs, fillz, fillzs, fz, sc, surfacecolor, surfacecolour, surfcolor, surfcolour | `nothing` | Matrix{Float64} of the same size as z matrix, which specifies the color of the 3D surface; the default value is `nothing` | |
fillalpha | fa, falpha, fillalphas, fillopacity, fopacity, fα | `nothing` | Number in [0,1] | The alpha/opacity override for the fill area. `nothing` (the default) means it will take the alpha value of fillcolor. |
fillcolor | fc, fcolor, fcolour, fillcolors, fillcolour | `match` | Color Type | Color of the filled area of path or bar types. `:match` will take the value from `:seriescolor`. |
fillrange | fill_between, fillbetween, fillranges, fillrng, fillto, frange | `nothing` | Number or AbstractVector | Fills area between fillrange and y for line-types, sets the base for bar/stick types, and similar for other types. |
fillstyle | fillstyles | `nothing` | Symbol | Style of the fill area. `nothing` (the default) means solid fill. Choose from :/, :\, :|, :-, :+, :x |
group | g, grouping, groups | `nothing` | AbstractVector | Data is split into a separate series, one for each unique value in `group` |
hover | hovers | `nothing` | nothing or vector of strings | Text to display when hovering over each data point. |
label | lab, labels | `auto` | String type | The label for a series, which appears in a legend. If empty, no legend entry is added. |
levels | levs, nlev, nlevels | `15` | Integer (number of contours) or AbstractVector (contour values) | Determines contour levels for a contour type. |
line_z | line_zs, linez, linezs, lz, zline | `nothing` | AbstractVector, Function `f(x,y,z) -> z_value`, or Function `f(x,y) -> z_value`, or nothing | 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). |
linealpha | la, lalpha, linealphas, lineopacity, lopacity, lα | `nothing` | Number in [0,1] | The alpha/opacity override for the line. `nothing` (the default) means it will take the alpha value of linecolor. |
linecolor | lc, lcolor, lcolour, linecolors, linecolour | `auto` | Color Type | 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). |
linestyle | linestyles, ls, s, style | `solid` | Symbol | Style of the line (for path and bar stroke). Choose from [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot] |
linewidth | linewidths, lw, w, width | `auto` | Number | Width of the line (in pixels) |
marker_z | marker_zs, markerz, markerzs, mz, zcolor | `nothing` | AbstractVector, Function `f(x,y,z) -> z_value`, or Function `f(x,y) -> z_value`, or nothing | z-values for each series data point, which correspond to the color to be used from a markercolor gradient. |
markeralpha | ma, malpha, markeralphas, markeropacity, mopacity, mα | `nothing` | Number in [0,1] | The alpha/opacity override for the marker interior. `nothing` (the default) means it will take the alpha value of markercolor. |
markercolor | markercolors, markercolour, mc, mcolor, mcolour | `match` | Color Type | Color of the interior of the marker or shape. `:match` will take the value from `:seriescolor`. |
markershape | markershapes, shape | `none` | Symbol, Shape, or AbstractVector | Choose from [:none, :auto, :circle, :rect, :star5, :diamond, :hexagon, :cross, :xcross, :utriangle, :dtriangle, :rtriangle, :ltriangle, :pentagon, :heptagon, :octagon, :star4, :star6, :star7, :star8, :vline, :hline, :+, :x]. |
markersize | markersizes, ms, msize | `4` | Number or AbstractVector | Size (radius pixels) of the markers |
markerstrokealpha | markerstrokealphas, markerstrokeopacity, msa, msalpha, msopacity, msα | `nothing` | Number in [0,1] | The alpha/opacity override for the marker stroke (border). `nothing` (the default) means it will take the alpha value of markerstrokecolor. |
markerstrokecolor | markerstrokecolors, markerstrokecolour, msc, mscolor, mscolour | `match` | Color Type | Color of the marker stroke (border). `:match` will take the value from `:foreground_color_subplot`. |
markerstrokestyle | markerstrokestyles | `solid` | Symbol | Style of the marker stroke (border). Choose from [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot] |
markerstrokewidth | markerstrokewidths, msw, mswidth | `1` | Number | Width of the marker stroke (border) in pixels |
normalize | norm, normalized, normalizes, normed | `false` | Bool or Symbol | Histogram normalization mode. Possible values are: false/:none (no normalization, default), true/:pdf (normalize to a discrete Probability Density Function, 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). |
orientation | dir, direction, orientations | `vertical` | Symbol | (deprecated) Horizontal or vertical orientation for bar types. Values `:h`, `:hor`, `:horizontal` correspond to horizontal (sideways, anchored to y-axis), and `:v`, `:vert`, and `:vertical` correspond to vertical (the default). |
permute | permutes | `none` | Tuple{Symbol,Symbol} | Permutes data and axis properties of the axes given in the tuple. E.g. (:x, :y). |
primary | primarys | `true` | Bool | Does this count as a 'real series'? For example, you could have a path (primary), and a scatter (secondary) as 2 separate series, maybe with different data (see sticks recipe for an example). The secondary series will get the same color, etc as the primary. |
quiver | gradient, quiver2d, quivers, vectorfield, velocity | `nothing` | AbstractVector or 2-Tuple of vectors | The directional vectors U,V which specify velocity/gradient vectors for a quiver plot. |
ribbon | rib, ribbons | `nothing` | Number or AbstractVector | Creates a fillrange around the data points. |
series_annotations | series_ann, series_annotation, series_anns, seriesann, seriesannotation, seriesanns, text, texts, txt, txts | `nothing` | AbstractVector of String or PlotText | These are annotations which are mapped to data points/positions. |
seriesalpha | alpha, opacity, seriesalphas, α | `nothing` | Number in [0,1] | The alpha/opacity override for the series. `nothing` (the default) means it will take the alpha value of the color. |
seriescolor | c, color, colour, seriescolors | `auto` | Color Type | 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 |
seriestype | linetype, lt, seriestypes, st, t, typ | `path` | Symbol | This 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_bins | show_empty, showempty, showemptybins | `false` | Bool | Whether empty bins in a 2D histogram are colored as 0 (true), or transparent (the default) |
smooth | reg, regression, smooths | `false` | Bool | Add a regression line? |
stride | str, strides, surf_str, surface_stride, surfacestride, surfstr, wirefame_stride, wirefamestride | |||
subplot | sp, splt, subplots, subplt | `auto` | Integer (subplot index) or Subplot object | The subplot that this series belongs to. |
weights | `nothing` | AbstractVector | Used in histogram types for weighted counts. | |
x | xs | `nothing` | Various | Input data. First Dimension |
xerror | xerr, xerrorbar, xerrors | `nothing` | AbstractVector or 2-Tuple of Vectors | 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) |
y | ys | `nothing` | Various | Input data. Second Dimension |
yerror | err, errorbar, yerr, yerrorbar, yerrors | `nothing` | AbstractVector or 2-Tuple of Vectors | 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) |
z | zs | `nothing` | Various | Input data. Third Dimension. May be wrapped by a `Surface` for surface and heatmap types. |
z_order | z_orders, zorders | `front` | Symbol or Integer | :front (default), :back or index of position where 1 is farest in the background. |
zerror | zerr, zerrorbar, zerrors |
(Automatically generated: 2022-08-13T17:00:03.528)