
Can we add a vertical slider to trace points in a linked axis plot?
2 views (last 30 days)
Show older comments
Manish Kumar Nayak
on 4 Nov 2022
Edited: Manish Kumar Nayak
on 5 Nov 2022
I would like to create plots in a MATLAB figure, similar to Simulink scope output with multiple inputs, where the different plots are linked together. Specifically I wish to know how to implement a feature like the Trace selection in the Simulink scope where the vertical line highlights the y-axis value for same x-axis point for all the plots.
While linkaxes solves part of the problem and allows me to zoom the subplots simultaneously in a synchronised manner
linkaxes(axis,'x')
I still have to use datatip to manually select values in the different plots. Is there a way which would highlight the y-values in all the plots, given that x-axis has been selected in any one of them? Exactly what a Simulink scope does under Trace mode.
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!