How to plot pie chart of different size on map?

1 visualizzazione (ultimi 30 giorni)
Hi all,
The code below create a graph representing UK and Irleand (see attached file). I would like to add on this graph pie chart with different sizes at different places. can someone help me, please?
(I previously used m_map to add pie chart on graph using m_piechart however the coast line resolution was to coarse for my study)
Cheers
close all
clear all
clc
% assign the path to your working directory:
cd ('E:\publi\Waiting-room\Matt_paper_hydrogen\figure_Matt\new\gshhg-bin-2.3.7(1)\');
% add path to TelemacTolls functions (i.e. to read in telemac files into MATLAB):
addpath ('C:\Matlab_download\m_map1.4\m_map\');
workingFolder = tempdir;
latlim = [48 63];
lonlim = [-12 3];
S = gshhs('gshhs_h.b', latlim, lonlim);
levels = [S.Level];
L1 = S(levels == 1);
figure
plot ([L1.Lon],[L1.Lat], '-b');
xlim([-11 3]);
ylim([49 61]);

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by