Multiple Image like subplot

2 次查看(过去 30 天)
Hosain Shahab Safa
Hosain Shahab Safa 2021-2-17
Hello
plot ====>>> subplot
imagesc==>> ?????
thanks

回答(2 个)

Adib Yusof
Adib Yusof 2021-2-17
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 2021-2-17
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.

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by