Skip to content

New plot type: harmonic lines #1535

@BambOoxX

Description

@BambOoxX

Features Suggestion

Have a new plottable that behaves close to a vertical line but with several vertical evenly spaced lines.

Feature description:

This new plottable should be draggable and have labels for each line.
For time or frequency signal analysis it is often convenient not only to have single cursors such as VerticalLine but also multiple evenly spaced cursors that may help detect periodic events (in time domain) or harmonic contributions (in frequency domain).

The following properties could be relevant :

  • Position of the first line
  • Number of lines / integer shift from first line (in case one wants to plot sub harmonics around the central line, or highlight previous event in time)
  • Shift between lines

I guess a HorizontalSpan of fixed width that is draggable would be close in principle to the case where only two lines would be requested.

Let me know what you think of this.

PS : I am currently trying to do this with a list of VerticalLines but updating all lines after the first one is dragged seems difficult.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions