3d plot change view / reverse axis
Show older comments
I have a 3d plot generated by the following code
d = 30:2:70;
g = 30:2:70;
C = 0.02;
k=0.7;
[D,G] = meshgrid(d,g);
Z = (2^(-k-(3/2)).*12*((pi)^(0.5))*C.*(gamma(2-k).*(D.^(2*k-4)+G.^(2*k-4))))./((2^(-k-0.5).*((pi)^0.5)*C.*gamma(1-k).*(D.^(2*k-2)+G.^(2*k-2))).^2);
surf(D,G,Z)
The problem is that its not very easy to look at the 3d plot produced. If I could somehow look at it from the opposite side or reverse the bottom axis so they went from 70 to 30 (instead of 30 to 70), I could then get a plot that would view better.
Any thoughts on how to do this?
Accepted Answer
More Answers (0)
Categories
Find more on Surface and Mesh Plots 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!