select a specific part of the graph using the mouse and zoom in and out of region selected by user

7 ビュー (過去 30 日間)
Hi everyone I plotted my data from a heart rate from a patient. This is a 60+ hour data that has been collected so its a large graph. I need to to make this figure as user friendly as possible so that if the user selects a region they can zoom in and out very easily and transition to different parts of the figure. basically I want he user to be able to interact with the graph as fast and easily as possible. Do you guys have any suggestions for me? I would greatly appreciate the help.
Thanks in advance!
  1 件のコメント
ALDO
ALDO 2018 年 10 月 16 日
編集済み: ALDO 2018 年 10 月 16 日
I have already tried
scrollplot(plot(Time_interval,Data), 'WindowSize',60);
but I just have too much data so its not functional for what I am looking for

サインインしてコメントする。

採用された回答

Steven Lord
Steven Lord 2018 年 10 月 16 日
It sounds like you want to use the built-in zooming and panning visual exploration tools in MATLAB.
If the problem you're experiencing is that you have more data than can fit in memory at once, consider storing your data in a tall array and using the visualization functions in MATLAB that accept tall arrays.
  2 件のコメント
ALDO
ALDO 2018 年 10 月 16 日
Hi Steven
Thanks so much for your response.
I am able to plot the data with no problem and dont have memory issues. the plot is very dense and compactly packed next to each other so it hard to visualize. I want to be able to easily make adjustments with out having to use plot tools and just interacting with the graph it self using your mouse.
Steven Lord
Steven Lord 2018 年 10 月 16 日
What release are you using?
What types of interactions do you want to perform? Zooming, panning, rotating, etc.?
What do you consider "plot tools"? If you mean you don't want to have to have your user select the "Zoom In" button you can enable zooming using zoom on or you can use release R2018b, where those interactions are enabled by default.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Exploration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by