Interactive Line Plot GUI

3 ビュー (過去 30 日間)
B_Richardson
B_Richardson 2011 年 7 月 6 日
Hello community!
I have an interesting problem. I have files of .avi movies typically 40 seconds in length each. I want to make a simple line plot of the movie. The y axis would be empty and the x axis would be the length of the movie in seconds.
Each movie is a set of 10 repetition exercise. I want the user to be able to use the plot interactively to identify the start and stop time of each rep.
So the plot would look something like this:
_-___-___-__-___-___-___-___-___-___-___
With each dash representing a starting and end time of a rep. Is something like this possible in matlab? I also need to be able to store each of those reps.
I know this alot, any advice would be greatly appreciated!
  1 件のコメント
B_Richardson
B_Richardson 2011 年 7 月 6 日
I found this link which is helping me somewhat:
http://www.mathworks.com/help/techdoc/ref/ginput.html

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

回答 (2 件)

Paulo Silva
Paulo Silva 2011 年 7 月 6 日
Take a look at ginput2
  4 件のコメント
Paulo Silva
Paulo Silva 2011 年 7 月 6 日
With GINPUT2 you can also:
1. ZOOM: in, out (double-click)!
2. PAN: when dragging!
3. DELETE: last selected point!
4. PLOT: while selecting! (optional, just input the line style!)
5. SCALE or GEOREFERENCE images! (optional, just input: true)
B_Richardson
B_Richardson 2011 年 7 月 6 日
I see. I dont need 1-4 or 5. Just 4 for my problem. But it looks like it wont be able to do even that. Or maybe I just dont know how to do it yet.

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


B_Richardson
B_Richardson 2011 年 7 月 7 日

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by