Subplot with geobasemap and boxplot

9 visualizaciones (últimos 30 días)
Elizabeth Ramsey
Elizabeth Ramsey el 14 de Jul. de 2021
Editada: Elizabeth Ramsey el 14 de Jul. de 2021
I'm trying to create a plot with a boxplot on one side and a geobasemap on the second. Is this possible?

Respuestas (1)

ANKUR KUMAR
ANKUR KUMAR el 14 de Jul. de 2021
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 comentario
dpb
dpb el 14 de Jul. de 2021
I don't have mapping TB to play with but I'd venture tiledlayout would work even better than subplot

Iniciar sesión para comentar.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by