Skip to content

Working with plots

Every stage that draws a plot shares the same tools: the tray of datasets on the left, a legend over the plot, and a zoom toolbar above it. The frequency views add a frequency navigator strip. This page describes all four, so the stage pages (Analysis, Nonlin, Modal fitting) don't repeat them.

The dataset tray

The tray lists every dataset with its name, duration and a stack of its channels. It is on the left in the wide layout. On a narrow window it shrinks to a rail of numbered chips: click a chip to cycle its set, or its corner × to delete it (or clear the fit). ⋯ opens the full tray as a drawer; close it with its ×, Esc, or a click outside.

  • All and None show or hide every line. Solo shows only the highlighted set, or only the highlighted channel when one set is loaded.
  • ‹ › move the highlight to the previous or next set, or to the previous or next channel when one set is loaded.
  • With a subset of lines showing (some on, some off), ‹ › shift the whole selection one channel along instead, wrapping at the ends. Two lines you picked stay a pair as they move, and a measured channel moves together with its fit line, which is a quick way to compare each channel with its fit in turn.
  • Click a set's name to cycle the whole set: on, faded (drawn dimmed), off. Double-click the name, or press F2, to rename it. The new name is the set's test_name in the data, and its spectra and transfer functions take it too, so it is saved, comes back when the session is restored or the file loaded, and is what session.data shows in a notebook.
  • Expand a set to switch individual channels on, faded or off. Double-click a channel's row (away from its name) to show or hide it outright. Double-click a channel name to rename it.
  • The channel numbers across the top cycle that channel through on, faded and off in all sets at once.
  • cal (shown on hover) opens the calibration dialog. × deletes the set, with its FFT and transfer function, so the next Save Dataset no longer writes it. On the Modal fit card the × clears the fit, and a message offers Undo. On a touch screen, which cannot hover, the × shows all the time.
  • The ⋯ at the right of a set's card opens its line choices: for each line, a colour from the app's 12 and thin, normal or bold. The plot, the legend and saved figures follow, and the choices are saved with the set. Reset to automatic puts the set back. A modal fit's lines take their measured line's colour. A new set always gets colours that no line on screen is using, until there are more than 12 lines.
  • ⚠ source changed appears on a set whose saved FFT or transfer function was computed from earlier time data. Click it to recompute.

The legend

A legend floats over the plot with one row per line. Click a row to cycle that line on, faded, off, as in the tray. Double-click a row to show or hide the line outright, without the faded step: a quick way to flash one line on and off to compare it with the others. A faded line counts as shown, so a double-click hides it. Lines that are off stay listed, struck through, so you can bring them back.

Choose a corner in the toolbar's panel, or drag the legend anywhere. A corner places it inside the axes, 8 px clear of their frame, so it never covers the tick numbers; Outside puts it at the top right, overhanging the right edge of the axes a little. A legend you drag may sit over the margins, but it stays inside the plot. With more than ten lines it flows into two or three columns. A small button in its corner (visible on hover) switches to a compact view: a grid of coloured dots with one row per set and one column per channel. Each dot works like its full row, and hovering shows the full label. The legend never grows taller than the axes: when its lines do not fit, they scroll inside it, and when the plot gets smaller the legend moves back inside it.

A saved figure shows the legend where it sits on screen, with every row written out (never the compact dots); a legend dragged over the margins is drawn just inside the axes. A legend too big for the printed axes goes below them instead; see Export figures.

The zoom toolbar

The toolbar sits above the plot, so it never covers your data.

  • Box zoom and Pan set what dragging on the plot does. ↶ and ↷ step back and forward through your view changes.
  • Auto X and Auto Y return an axis to automatic fitting (on a Nyquist plot they read Auto Re and Auto Im). An automatic axis keeps re-fitting as data arrives or lines are switched on and off, until you next zoom. Automatic y fits only the visible lines, and only the samples inside the current x window, so a zoomed stretch fills the plot.
  • x lin / log sets the frequency axis on the Frequency and TF views (not Nyquist). y dB / lin sets magnitude between dB and linear on the FFT, Power and PSD views and on the TF Mag (dB) and Bode plots. On the Sonogram, y lin / log sets the frequency axis and colour dB / lin sets how the heat map is coloured.
  • A log frequency axis cannot start at 0 Hz, so it opens three decades below its top: 1.5 Hz to 1.5 kHz for a 3 kHz capture, 24 Hz to 24 kHz at 48 kHz. If the data's lowest frequency is higher, it starts there instead. To see further down, type a lower x min (or y min on the Sonogram), or pan down.
  • The frequency navigator button (the strip icon) shows or hides the navigator.
  • The chevron at the right end of the toolbar opens a panel when you hover over it; click it to keep the panel open. It holds:
    • manual axis limits, applied as you type;
    • Legend: show or hide, and place it in a corner (NW, NE, SW, SE) or Outside;
    • on a Bode plot, phase y, set to ±180° or auto; and
    • on a plot with a coherence overlay, coherence, set to 0–1 or auto for the right-hand axis.

Axes refit themselves when the plot's meaning changes. New data arriving in a view (a capture, a loaded file, a first calculation) refits y. Changing the quantity, the plot type, dB or linear, or the calibration resets y to automatic, because the units change. A window you zoomed to on purpose is kept when you recompute an existing result.

Frequency navigator

On the Frequency and TF views the navigator shows the magnitude of the visible lines across the whole measured bandwidth, in a slim strip above the plot. A highlighted band marks the current frequency window, the same window that Calc and Fit use.

  • Drag the band to move along frequency. The plot follows as you drag.
  • Drag either edge of the band to resize it.
  • Drag on empty strip to draw a new window.
  • Type exact limits in the min and max boxes, in hertz. A minimum above the current maximum (or a maximum below the minimum) moves the window there and keeps its width.
  • Double-click the strip to reset the window to the scope, or to the full range when the strip is not scoped.

Each drag is one undo step.

The ‹ peak and peak › buttons jump the window to the previous or next spectral peak, keeping its width. Peaks are found on the curves you see in the strip. From a window that spans nearly the whole strip, the first press narrows it to a tenth of the strip so the jump is meaningful. Once you have fitted modes, each one is marked with a small triangle on the strip, so the unmarked peaks are the ones still to fit.

zoom to band zooms the strip itself in to the current window, which helps when the measurement covers much more bandwidth than you care about, or when you want to pick a narrow window precisely. A miniature of the full range then appears above the strip, with the zoomed part highlighted and joined to the strip below; drag that highlight to move or resize the zoomed part. The button stays lit while the strip is zoomed: click it again, or double-click the miniature, to show the full range. Zooming changes only what the strip shows. It never moves the window or affects a calculation, and it is not saved with your data.

The navigator opens by itself in the Fit stage and on the Nyquist plot. Elsewhere, use the toolbar button to show or hide it. The choice is remembered for each view until you reload the page.