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

SignalXY support for parallel processing and render index limits #500

Merged
merged 2 commits into from Aug 9, 2020

Conversation

StendProg
Copy link
Contributor

@StendProg StendProg commented Aug 5, 2020

Purpose:
Parallel processing for PlottableSignalXY #419
For now PlottableSignalXY support useParallel flag to enable/disable parallel processing.
Existing code has been substantially reworked, to make it unrelated between iterations and without parallel/sequental code duplicates. Similar to the PlottableSignal #454 approach
Binary search is now used to find indexes in xs array. This should also improve performance.
PlottableSignalXY now respects to minRenderIndex and maxRenderIndex #493. PR #495 deprecated now.

Additionaly fix PlottableSignal limits calculations.

New functionality (code):

plt.PlotSignalXY(xs, ys, minRenderIndex: 4000, maxRenderIndex: 200000, useParallel: true);

New functionality (image):

image

@swharden swharden changed the title SignalXY parallel processing SignalXY support for parallel processing and render index limits Aug 9, 2020
@swharden swharden merged commit 77a2688 into ScottPlot:master Aug 9, 2020
swharden added a commit that referenced this pull request Aug 9, 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

Successfully merging this pull request may close these issues.

None yet

2 participants