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!