Subplot with geobasemap and boxplot
8 次查看(过去 30 天)
显示 更早的评论
I'm trying to create a plot with a boxplot on one side and a geobasemap on the second. Is this possible?
0 个评论
回答(1 个)
ANKUR KUMAR
2021-7-14
You can do it easily using subplot.
subplot(1,2,1)
boxplot(randi(100,1,500));
subplot(1,2,2)
tsunamis = readtable('tsunamis.xlsx');
geobubble(tsunamis,'Latitude','Longitude','SizeVariable','MaxHeight')
geobasemap colorterrain
Just for the better appearance
figure
subplot(1,3,1)
boxplot(randi(100,1,500));
subplot(1,3,[2,3])
tsunamis = readtable('tsunamis.xlsx');
geobubble(tsunamis,'Latitude','Longitude','SizeVariable','MaxHeight')
geobasemap colorterrain
1 个评论
dpb
2021-7-14
I don't have mapping TB to play with but I'd venture tiledlayout would work even better than subplot
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!