MATLAB: Xticks showing latitude and longitude

handle graphics

I have 3-dim atmospheric data of which I want to plot a vertical cross section. Getting the cross section data and plotting it is no problem, just the ticks give me headache. I want the x-axis to show me the location with both latitude and longitude, preferably longitude below the latitude. How can I customize the xticks so that they exactly show that?

Best Answer

set(axis_handle,'YTickLabel',{label1,label2...})
Coming up with the labels is up to you.