question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add "step" option for low density rendering mode in Signal plots

See original GitHub issue

Features Suggestion

Hi Scott, it would be great to have a function:

public SignalPlotConstStep<T> AddSignalConstStep<T>(T[] ys, double sampleRate = 1, Color? color = null, string label = null) where T : struct, IComparable;

similar to AddScatterStep(...). I know AddScatterStep() can already do the job. But if I understand correctly the AddSignalConst is much faster in case of high number of data points. So, I was wondering if we can do exactly as AddSignalConst to maintain performance but plot it as step.

I work with microcontrollers and there the signals are discrete, so it would be ideal to display them as steps. Do you think it would be much effort to achieve something like this?

AddSignalConst image

AddSignalConstStep (Suggested feature) image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
EFerucommented, May 29, 2021

This is exactly what I needed.

1reaction
EFerucommented, Jun 3, 2021

Yep, that did the trick.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ScottPlot 4.1 Cookbook
SignalConst - SignalConst plots pre-processes data to render much faster than Signal plots. ... Ruler mode is an alternative way to display axis...
Read more >
Virtuoso Visualization and Analysis XL User Guide
signal destination, see step 2 in Selecting and Plotting Signals in a Data Range on page 48. Appending to a Graph. You can...
Read more >
ScottPlot 4.0.47 Cookbook
SignalConst plots pre-processes data to render much faster than Signal plots. Pre-processing takes a little time up-front and requires 4x the memory of...
Read more >
Check Step Response Characteristics
You can add Check Step Response Characteristics blocks to multiple signals to check that they satisfy the bounds. You can also plot the...
Read more >
Using Stepchart
Stepchart measures the tonal response, noise, dynamic range, and ISO sensitivity of digital cameras and scanners using. Reflective grayscale step charts ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found