Side by side subplots with one split into 3

4 次查看(过去 30 天)
How might I create a layout that looks like this

回答(1 个)

Dyuman Joshi
Dyuman Joshi 2023-11-15
tiledlayout(3, 2)
%Span a tile across 3 rows and 1 column
nexttile([3 1])
fplot(@sin)
nexttile
scatter(rand(1,10),rand(1,10), [], [1 0 1])
nexttile
fsurf(@(x,y) sin(x)+cos(y))
nexttile
imagesc(rand(10))

类别

Help CenterFile Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by