Output geobubble marker size to geoscatter to plot
3 ビュー (過去 30 日間)
古いコメントを表示
I would like to input the size of makers I have from geobubble.m to geoscatter.m, which uses marker sizes in units of points, so I can have to directly comparative figures.
The geobubble call that I run looks something like this:
gx = geobubble(gx.Parent,Event.EventLatitude, Event.EventLongitude,Event.EventSize,b,'Title','Events');
The geoscatter call that I run looks something like this:
geoscatter(gx2,Event.EventLatitude,Event.EventLongitude,msz,'Marker','o','MarkerFaceColor',mcol,'linewidth',1.5,'MarkerEdgeColor',mcol);
I would like each row of size marker that msz stores to match the bubble size that the geobubble.m plot outputs.
I cannot solve this by plotting lines directly on a geobubble.m plot, as the geobubble.m plot does not support lines or "hold on" because a geobubble axes and geoaxes are not commensurate.
0 件のコメント
回答 (1 件)
Githin George
2023 年 11 月 9 日
Hello,
My understanding is that you are having a geoscatter plot and a geobubble plot for some data and would like to have the same size for the markers in both the plots.
Both “geoscatter” and “geobubble” functions return a MATLAB graphics object with the property ‘SizeData’ which contains the corresponding size of the markers for each data point. You could try modifying this property for your graphics object to get the desired output. Please look at the below documentation links to see the full property list for “geoscatter” and “geobubble” plots.
I hope this provides some insights for your case.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Geographic Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!