Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

2. Draw the topographic profile that goes from Punta Alto (A) to Morra de los Carboneros (B).

AB_cm=[0 0.8 1.3 3.1 11 11.8 12];


AB_h= [1536 1400 1300 1200 1200 1300 (1300+1400)/2]; % Last value
% obtained approximating linearly the read value
AB_km = AB_cm*scale_km;

plot(AB_km,AB_h,'-*','MarkerSize',5,'LineWidth',2);
ylabel("Elevation [m]");
xlabel("Real distance [km]");
title ("Topographic profile A-B")

plot(AB_cm,AB_h,'-*','MarkerSize',5,'LineWidth',2);
ylabel("Elevation [m]");
xlabel("Distance on map [cm]");
title ("Topographic profile A-B")

You might also like