Select Points of a Plot in GUI
2 ビュー (過去 30 日間)
古いコメントを表示
I have a raster plot of spike times in a GUIDE GUI. I would like to add a button to my GUI that will allow the user to click a point and select the row of the raster plot. I would like to change the color of the row selected and save the row number as a variable. I need to be able to select multiple rows at once and unselect rows.I am not sure the best way to go about this. Any help/tips is greatly appriciated... Thanks ~Dan
0 件のコメント
採用された回答
Paulo Silva
2011 年 1 月 28 日
Maybe this file on FEX can be helpful http://www.mathworks.com/matlabcentral/fileexchange/13857
0 件のコメント
その他の回答 (2 件)
Daniel
2011 年 1 月 29 日
2 件のコメント
Paulo Silva
2011 年 1 月 29 日
Just play (comment lines, change values, etc) with the code of that file until your understand what everything does, it's often the best way to learn.
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!