Skip to main content

Contour

A more subtle variation on the 2D histogram is the 2D contour plot.

Name#

Sets the trace name. The trace name appears as the legend item and on hover.

In the Name text box, the name can be entered and formatted. This is automatically reflected in the Structure > Traces[link] section and in the legend[link] of the plot. The trace name can be also edited directly by double-clicking the trace name in the plot legend.

HTML tags and CSS formatting can be used to enrich text styling.

Trace Opacity#

Sets the opacity (transparency) of the trace.

Contours#

Type#

  • Levels If Levels, the data is represented as a contour plot with multiple levels displayed.

  • Constraint If Constraint the data is represented as constraints with the invalid region shaded

Coloring#

[conditonal] Only is present when Type is set to Levels

  • Fill shows entire contour filled with same color

  • Heatmap displays a continuous interpolated color scale

  • Lines shows the borders of the contour levels in color

  • None shows the borders of the contour levels as

Contour Lines#

Only available when Type above is set to Constraint or when in Type the Levels is chosen in combination with the Fill option

  • On places visible lines between adjacent contour value areas

  • Off (bug)[link] does not work when Constraint is set at Type Otherwise does not show separating lines between areas (area colors themselves are visible if Levels are chosen above)

Contour Labels#

  • On Places numeric values of the boundaries on the contour lines

  • Off

Number of Contours#

Only available when Type is set to Levels.

  • Auto adapts the number of contour lines automatically

  • Custom reveals the menus Step Size and Min Contour below

Step Size#

Only available when Number Of Contours is set to Custom.

Integer, determines in how many levels the data is shown; how many color bands are visible in the Coloring

Min Contour#

Only available when Number Of Contours is set to Custom.

Sets the lower end of the scale (hiding lower valued contours), combining all lower values into the min conour value.

Max Contour#

Only available when Number Of Contours is set to Custom.

Sets the upper end of the scale (combining all higher values into the highest category)

Lines#

Acts as a switch to show or hide lines between contour levels. Options below vary according to combinations chosen in the Contours settings, complicated by a bug[link].

Width#

Only available when Contour Lines above is set to On.

Sets the width of the contour line in (fractions of) pixels

Color#

Only available when Contour Lines above is set to On.

Only available when Coloring above is not set to Lines.

Sets the color of the lines separating the contour levels. When Lines in is chosen Coloring, the line color is determined by the used Colorscale

Type#

Only available when Contour Lines above is set to On.

Chooses various types of continuous and striped lines

Smoothing#

Draws straight lines between datapoints (Smoothing set to 0) or fits curve between datapoints (Smoothing set to 1.3)

Conect Gaps#

Acts on interpolating of missing data, concurrently with Gaps In Data below.

  • Connect When data is missing, interpolate using surrounding data, draws lines as continuous

  • Blank creates holes in Fill and Heatmap traces, shows intermittent lines

Text#

Text#

The grid column[link], holding the text to be shown for each item on hover, can be chosen here. Only data-containing columns can be selected.

Colorscale#

The data points can be visualized using a number of different color sets, picked from the Colorscales pulldown menu[link].

Explained under Style > General.

Color Bar#

  • Show enables the color bar (shown next to the plot), which relates colors in the plot to the numeric data values.
  • Hide disables the color bar.

Orientation#

Sets the relation between the numeric data values and the chosen color scale.

  • Normal applies the colors of the Colorscale colors in their original order.
  • Reversed applies the Colorscale colors in reversed order.

Range#

  • Auto distributes colors and values linearly within range.
  • Custom allows the range to be distributed across manually-set limits.

Min#

Only available when Colorscale > Range is set to Custom.

Sets the lower end of the scale. All data values lower than this number will be mapped onto this value.

Max#

Only available when Colorscale > Range is set to Custom.

Sets the upper end of the scale. All data values higher than this number will be mapped onto this value.

Min#

Only visible when Custom above is chosen.

Can be set with up- and down arrow, using the scroll wheel when the field has focus, or be typed in.

Max#

Only visible when Custom above is chosen.

Can be set with up- and down arrow, using the scroll wheel when the field has focus, or be typed in.

Gaps In Data#

Interpolate Gaps#

  • On interpolates missing data points by using available adjacent data. Has the side effect of overruling the Hover On Gaps below.
  • Off shows gaps in data.

Hover/Tooltip#

Hover On Gaps#

  • Yes Gaps in the data will display the categories, the z value is displayed as NaN (Not a Number)

  • No When no data is available, no hover info is shown.

Mode#

  • Values tooltips will show actual data values on hover.
  • Template tooltips will show custom-formatted values on hover. This option also enables the template formatting field.

Show#

Only available when Mode above is set to Values.

When under Text >Text[link] a grid area is chosen, Text appears as an extra option in the Show menu. When hovering over the trace, each of the values from the grid are shown for X, Y, Z, a text column and the Name of the trace[link].

Trace Name#

Only available when Mode above is set to Values.

  • Clip To The trace name is partially shown in a side pane attached to the hover pane. Opens extra numerical data field.
  • No Clip An extra side-panel is added to the hover pane, showing the entire trace name.
  • Hide No trace name is shown in the hover info pane.
  • px Numerical field to enter the number of pixels the trace name will be clipped to, only appears when Clip To is selected.

Text Alignment#

Sets the horizontal alignment of the text content within the hover label box. Has an effect only if the hover label text spans two or more lines. Alignment of Hover/Tooltip can be set to Auto, Left or Right.