The graph

The graph fills the right part of the panel. It draws the profile of each checked layer along the active line.

The profile of the active line, with the cursor set by hovering the graph

The profile of the active line, with the cursor set by hovering the graph. Tabo archaeological site (Sudan): drone DTM and SRTM.

The axes

  • Horizontally, the distance from the start of the line, in metres. The axis goes from the first to the last point of the line.

  • Vertically, the elevation, in metres (unit of the layers, with the Z scale and offset of QGIS). The scale fits the curves shown, with a margin above and below.

  • A layer with no value on part of the line leaves a gap there: the curve is not joined across it.

  • The axes are fixed: the graph does not zoom nor pan. To see a detail, draw a shorter line.

All the checked layers are sampled at the same points of the line: their curves are exactly superposed and read at the same place. The step is the pixel size of the finest DEM.

Sampling

Sampling: the same points for every layer.

The cursor

When the graph is hovered, a cursor follows the mouse:

The cursor

The cursor: dotted lines, a dot on each curve, the distance under the axis and the elevation of each layer.

  • a vertical dotted line up to the highest curve, and a horizontal one on the distance axis;

  • a dot on each curve, in the colour of the layer;

  • the distance from the start of the line, under the axis;

  • a box with the elevation of each checked layer at that place (- if the layer has no value).

The cursor and the map

The graph and the map are linked both ways:

  • hovering the graph shows the matching point of the line on the map (red dot on the first picture);

  • hovering the line on the map moves the cursor of the graph to the closest point.

Hovering the line on the map

Hovering the line on the map: the cursor of the graph goes to the same place.

The nodes

The nodes are the vertices of the active line. They are shown on the map and, on the graph, as white circles at their distance along the line: each change of direction is easy to spot.

The Show/hide nodes button of the graph toolbar hides or shows them, on the map and on the graph at once.

Nodes hidden

Nodes hidden: the line and the graph without the vertex circles.

The graph toolbar

The toolbar appears at the top right of the graph when the mouse hovers it:

The graph toolbar

The graph toolbar: save as a picture, show or hide the nodes, Plotly.

  • the camera saves the graph as a PNG picture;

  • the Show/hide nodes button (four dots);

  • the Plotly logo, the graph library of Lizmap (link to its website).

The fills

  • A layer in fill below is filled down to the bottom of the graph; in fill above, up to the top.

  • If the QGIS fill colour is opaque, the tool makes it transparent so that the curves stay readable: 60 % opacity for a single curve, 35 % when several are superposed. A fill opacity chosen in the style of the layer (see The layer panel) is kept as is.

  • A layer with no colour in QGIS gets a colour of the Plotly palette.

The online sources

The attribution of the checked online sources (Copernicus) is shown under the graph, as their licence requires.