Select with the cursor in a plot the interval boundaries
12 views (last 30 days)
Show older comments
Hello,
is there any opportunity to choose with the cursor in a plot points to define variables.
I want to select with two cursor klicks on a plotted signal an interval for further analysis.
Thank you for help!
0 Comments
Answers (2)
Samatha Aleti
on 5 Aug 2019
You can select the points on the plot and save it to workspace with a variable name. One of the ways to do this is to select “Data Tips” option, then select the data points to be saved. Now right click anywhere on the figure and select “Export Cursor Data to Workspace” and give a variable name.
Data Tips >> select data points >> right click >> Export Cursor Data to Workspace
To add data points to existing variable, right click and select “Create New Data Tip” then repeat above process.
Refer the figures attached for better understanding.
2 Comments
See Also
Categories
Find more on Visual Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!