My goal is to plot a curtain profile using imagesc() with the x-axis corresponding to the Latitude values and y-axis to the Altitude. My x-axis data are the latitude points of an instrument orbiting the Earth. In this scenario, the latitude values increase (reaching top of orbit) and then they decrease.
I've been able to successfully plot these profiles for when the latitude values were in increasing/decreasing order but not when they have both scenarious occuring.
Anyone have an idea/code that can fix this error? Thank you!
x = latitude;
y = altitude;
z = data;
imagesc(x, y, z)