Borrar filtros
Borrar filtros

Letting my user choose a subset of a plot

4 visualizaciones (últimos 30 días)
Ken
Ken el 12 de Feb. de 2024
Respondida: Taylor el 13 de Feb. de 2024
Using app designer, I am displaying a lot of line plots. In some of these, I would like to allow my user to select a subset of the data by clicking and dragging, and then use that subset for the remainder of several steps of calculations. Although it would not be my first choice, I could work with the "zoom in" feature provided that I could programmatically retrieve the current zoom limits of the plot. But my preference would be to simply let the user drag from left to right, providing some sort of visual feedback in the process, and then zoom the graph myself. Or perhaps, change the color of the selected portion.
What is possible along these lines?

Respuestas (1)

Taylor
Taylor el 13 de Feb. de 2024
Is this what you're looking for when you say "let the user drag from left to right"?

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by