Multiple Image like subplot

5 views (last 30 days)
Hosain Shahab Safa
Hosain Shahab Safa on 17 Feb 2021
Answered: Walter Roberson on 17 Feb 2021
Hello
plot ====>>> subplot
imagesc==>> ?????
thanks

Answers (2)

Adib Yusof
Adib Yusof on 17 Feb 2021
Hello,
You still can use subplot alongside with imagesc. Just call subplot first, and then call imagesc. Or even better, use the newer version of subplot called tiledlayout. Example:
tiledlayout(2, 1);
nexttile;
imagesc(...);
nexttile;
imagesc(...)

Walter Roberson
Walter Roberson on 17 Feb 2021
See montage for one possible meaning of your question.
Also for image() and imagesc() and imshow() you can pass in x and y coordinates of the center of the lower left and upper-right pixels, in data coordinates, so you can put images wherever you need them in data units.

Tags

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!