Matlab GUI to scroll through plots/images
10 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I know this is a question that has appeared before but I did not grasp the answers completely.
I am currently running simulations for a master's thesis that always result in either ternary of binary plots. For the sake of analysis and comparison between plots I have the idea of loading in different images or plots in a GUI and using a slidebar to scroll through the images so that I could analyse the trend that manifests itself better (the change of the profiles plotted in the graphs).
I have already looked up some code and I think I have a basic understanding of how GUI works and is coded but I have no idea on how to start coding this.
Thank you for the help and kind regards!
0 件のコメント
回答 (1 件)
Jan
2017 年 3 月 13 日
Start with deciding, if you want to use Matlab's tool GUIDE for creating the GUI or if you program it by your own. Due to some pitfalls and incompatibilities I prefer the programmatical approach, but many other use GUIDE.
In both cases the GUI is created at first with some decisions: Where should which element occur? How should the GUI look after resizing? How are the data imported and the results exported? Such questions can be solved with a pen and paper efficiently.
After the elements have been implemented, it is time to program the callbacks - the functions which are evaluated, when the GUI elements are activated. Here the "communication" between the callbacks is not trivial. Serach for "share data between callbacks" in this forum.
If you decide to create the dialog programmatically, you find valuable instructions here: https://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!