specifing a colorbar parent/figure
Show older comments
How are you supposed to set the figure to which a colorbar is associated? At the moment, when I introduce a colorbar it automatically assigns itself to another figure without any mention of that figure.
i.e. associate colorbar with "plot" figure
imshow(data,'Parent',plot);
colormap(plot, jet)
colorbar
caxis(plot,[0 max_I])
Many thanks,
Accepted Answer
More Answers (0)
Categories
Find more on Colorbar in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!