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

Add ability to select a subset of the data during plotting #2

Open
WaveHello opened this issue Sep 1, 2023 · 2 comments
Open

Add ability to select a subset of the data during plotting #2

WaveHello opened this issue Sep 1, 2023 · 2 comments

Comments

@WaveHello
Copy link
Owner

WaveHello commented Sep 1, 2023

Currently to plot the df values in GraphFunctions the format is

Frame[xx][::samplespan]

Add a variable so that the format can be

# default data_selection = [0, -1]
data_selection = [num1, num2]

Frame[xx][data_selection[0]:data_selection[1]:samplespan]

samplespan is the spacing selecting between data points samplespan = 1 means go row 0, 1, 2, 3... samplespan = 5 means go row 0, 5, 10

@WaveHello
Copy link
Owner Author

Ability added.

@WaveHello WaveHello reopened this Sep 3, 2023
@WaveHello
Copy link
Owner Author

Add ability to turn off data selection. Add an element to data_selection (third element) that is zero or 1 and acts as a switch for using the value of data_selection or not.

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

1 participant