Can I have a background and foreground axis ?
Show older comments
I built a GUI where I let the user select various region of interest (ROI) on a histogram plot. When the user click the plot, I have to refresh the main histogram plot (imhist) then refresh the ROI... this process is very slow as it takes 1 to 2 seconds to refresh the entire plot. I wanted to provide the option to move a ROI but due to the slow refresh, that's not even possible. What could work is having as a 'background' axis the imhist plot, and in a foreground axis, the ROIs.... the user would then only modify the foreground axis... no need then to refresh the background axis. Is that possible ?
Accepted Answer
More Answers (1)
Jan
on 16 Jan 2013
0 votes
See the plotyy command, which creates 2 axes also: edit plotyy.
1 Comment
Jean Bilheux
on 17 Jan 2013
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!