Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minRenderIndex for PlottableSignal (and it's derivatives) #474

Closed
bclehmann opened this issue Jun 19, 2020 · 1 comment
Closed

minRenderIndex for PlottableSignal (and it's derivatives) #474

bclehmann opened this issue Jun 19, 2020 · 1 comment

Comments

@bclehmann
Copy link
Member

bclehmann commented Jun 19, 2020

What can we do to make ScottPlot better?
PlottableSignal has an argument for the maxRenderIndex, to avoid rendering indices above it. A minRenderIndex parameter would allow the same thing, but for indices below it.

Does your proposed feature allow users to do new things in source code? If so, show us how you'd like to be able to use the new feature:

var sigplot = plt.PlotSignal(ys, minRenderIndex : 100, maxRenderIndex : 500);

This came up in this app: https://github.com/Benny121221/AssettoCorsaTelemetryApp. I was interested in plotting the last laps throttle trace in a lighter colour than the current lap.

Check the ScottPlot Roadmap to see if your feature is already planned for an upcoming release:
https://github.com/swharden/ScottPlot/blob/master/dev/roadmap.md

swharden added a commit that referenced this issue Jul 7, 2020
to compliment maxRenderIndex
@swharden
Copy link
Member

swharden commented Jul 7, 2020

I like the idea - done! Thanks @Benny121221

@swharden swharden closed this as completed Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants