Foresight.ziggurat Function
ziggurat(x; kwargs...)Plots a histogram with a transparent fill.
Key attributes:
linecolor = automatic: Sets the color of the step outline.
color = @inherit patchcolor: Color of the interior fill.
fillalpha = 0.5: Transparency of the interior fill.
filternan = true: Whether to remove NaN values from the data before plotting.
Plot type
The plot type alias for the ziggurat function is Ziggurat.
Attributes
bar_labels = nothing — No docs available.
bins = 15 — Can be an Int to create that number of equal-width bins over the range of values. Alternatively, it can be a sorted iterable of bin edges.
clip_planes = @inherit clip_planes automatic — Clip planes offer a way to do clipping in 3D space. You can set a Vector of up to 8 Plane3f planes here, behind which plots will be clipped (i.e. become invisible). By default clip planes are inherited from the parent plot or scene. You can remove parent clip_planes by passing Plane3f[].
color = @inherit patchcolor — Color of the histogram fill
cycle = :color => :patchcolor — No docs available.
depth_shift = 0.0 — Adjusts the depth value of a plot after all other transformations, i.e. in clip space, where -1 <= depth <= 1. This only applies to GLMakie and WGLMakie and can be used to adjust render order (like a tunable overdraw).
direction = :y — Set the direction of the bars.
fillalpha = 0.5 — Transparency of the histogram fill
fillto = automatic — Defines where the bars start.
filternan = true — Whether to remove NaN values
flip_labels_at = Inf — No docs available.
fxaa = true — Adjusts whether the plot is rendered with fxaa (anti-aliasing, GLMakie only).
gap = 0 — Gap between the bars (see barplot).
inspectable = @inherit inspectable — Sets whether this plot should be seen by DataInspector. The default depends on the theme of the parent scene.
inspector_clear = automatic — Sets a callback function (inspector, plot) -> ... for cleaning up custom indicators in DataInspector.
inspector_hover = automatic — Sets a callback function (inspector, plot, index) -> ... which replaces the default show_data methods.
inspector_label = automatic — Sets a callback function (plot, index, position) -> string which replaces the default label generated by DataInspector.
label_color = @inherit textcolor — No docs available.
label_font = @inherit font — No docs available.
label_formatter = bar_label_formatter — No docs available.
label_offset = 5 — No docs available.
label_size = 20 — No docs available.
linecolor = automatic — Color of the histogram steps
linestyle = :solid — No docs available.
linewidth = @inherit linewidth — No docs available.
model = automatic — Sets a model matrix for the plot. This overrides adjustments made with translate!, rotate! and scale!.
normalization = :none — Allows to normalize the histogram. Possible values are:
:pdf: Normalize by sum of weights and bin sizes. Resulting histogram has norm 1 and represents a PDF.:density: Normalize by bin sizes only. Resulting histogram represents count density of input and does not have norm 1. Will not modify the histogram if it already represents a density (h.isdensity == 1).:probability: Normalize by sum of weights only. Resulting histogram represents the fraction of probability mass for each bin and does not have norm 1.:none: Do not normalize.
offset = 0.0 — Adds an offset to every value.
over_background_color = automatic — No docs available.
over_bar_color = automatic — No docs available.
overdraw = false — Controls if the plot will draw over other plots. This specifically means ignoring depth checks in GL backends
scale_to = nothing — Allows to scale all values to a certain height. This can also be set to :flip to flip the direction of histogram bars without scaling them to a common height.
space = :data — Sets the transformation space for box encompassing the plot. See Makie.spaces() for possible inputs.
ssao = false — Adjusts whether the plot is rendered with ssao (screen space ambient occlusion). Note that this only makes sense in 3D plots and is only applicable with fxaa = true.
strokecolor = @inherit patchstrokecolor — No docs available.
strokewidth = @inherit patchstrokewidth — No docs available.
transformation = :automatic — No docs available.
transparency = false — Adjusts how the plot deals with transparency. In GLMakie transparency = true results in using Order Independent Transparency.
visible = true — Controls whether the plot will be rendered or not.
weights = automatic — Allows to statistically weight the observations.
Makie.Linestyle Type
Linestyle(value::Vector{<:Real})A type that can be used as value for the linestyle keyword argument of plotting functions to arbitrarily customize the linestyle.
The value is a vector specifying the boundaries of the dashes in the line. Values 1 and 2 demarcate the first dash, values 2 and 3 the first gap, and so on. This means that usually, a pattern should have an odd number of values so that there's always a gap after a dash.
Here's an example in ASCII code. If we specify [0, 3, 6, 11, 16] then we get the following pattern:
# 0 3 6 11 16 3 6 11
# --- ----- --- -----