How to change the central longitude to 180E of world map for a 3D scatter plot?

1 visualización (últimos 30 días)
Hello community,
I have 3D aircraft temperature data at different lat,lon,altitude. I want to create 3D scatter plot with world map at base having 180E at centre (basically pacific at the middle). My longitude ranges from -180 to 180 and latitude -90 to 90. I have tried but no succes. Here is the block of code that I am developing. I am using R2022b.
close all; figure('Name','Temperature'); f=set(gcf, 'Position', [600 500 1400 800]);
ax11=axes;
h = scatter3(ax11,Lon,Lat, Alt, 5, Temperature, 'MarkerFaceColor', 'Flat');
colorbar();
hold on
load coastlines.mat
plot(ax11,coastlon,coastlat,'k')
Here, I want to put central longitude=180E.
Looking forward to your answers.
Thanks in advance.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by