Drag bar input form
2 ビュー (過去 30 日間)
古いコメントを表示
Hi everyone, I havent seen this before and dont know if its possible.
I have an image in 2d array format where the values in this array go from 0-1. I am trying to replace values that are greater than X and less than Y with NaN and surf the image. My code is ready however I am testing out what X and Y should be and it takes a lot of time to change it manually and type the numbers on each iteration. I was wondering if there a way to implement a scale bar similar to the image attached where I can change X and Y by dragging the value on the scale and observe the changes this make to my plot?
0 件のコメント
採用された回答
Rishabh Singh
2022 年 2 月 9 日
Hi Ahmed,
MATLAB Live script editor provides the functionality you are searching for. Check out the documentation link for more information.
Above is how it would look like when implemented.
Hope this helps.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!