How to find individual subplots from a single figure?
3 views (last 30 days)
Show older comments
Hi All,
I want to write a function/code which identifies individual subplots from a single image. I have provided the code here.. h4 is a single image and the two subplots are the ones i want to identify individually. The reason behind that is....Since, i am unable to use improfile function on both subplots at the same time, i want to use getline function to identify the [x,y,z]. and then use those positions to draw intensity profile on individual subplots to compare them.
{
h4 = figure('Position', [100 100 600 300]) ; figure(h4);
subplot(121), imagesc(Mxy3), colorbar; set(gca, 'Clim', [0, 1]);title('Mxy After shimming');
subplot(122), imagesc(Mxy), colorbar;set(gca, 'Clim', [0, 1]);title('Mxy Before shimming');
}
0 Comments
Accepted Answer
the cyclist
on 24 Jun 2013
Assign handles to each individual figure. For example,
h121 = imagesc(Mxy3);
0 Comments
More Answers (0)
See Also
Categories
Find more on Subplots 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!