How do I merge 2 graphs with both a normal and reversed x-axis
Show older comments
I'm still new to matlab so forgive me
I currently have these 2 graphs made in the first picture shown using this code but I want to merge these two graphs together as shown in the second picture.
lat30 = [90:-30:0 0:30:90]
omgega = 0.0000729
f30 = 2*omega*sind(lat30)
subplot(2,1,1)
plot(lat30,f30)
grid on
subplot(2,1,2)
plot(lat30,f30)
set(gca, 'XDir','reverse')
grid on


Answers (1)
Categories
Find more on Directed Graphs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!