How to overlay two surf plots?
Ältere Kommentare anzeigen

Hi everyone,
I am trying to overlay the contour stroke shape into the colorful surf plot
Here the code i've tried but it doesnt work, it only show the left image above
hold on
surf(X,Y,-M1); surf(-X,Y,M1); %Reflection along y axis
surf(X,Y,Ta); surf(-X,Y,Ta); %Stroke Contour
4 Kommentare
Walter Roberson
am 14 Mär. 2020
surf(X,Y,-M1); surf(-X,Y,M1); %Reflection along y axis
I have to wonder whether that should be
surf(X,Y,-M1); surf(-X,fliplr(Y),M1); %Reflection along y axis
or
surf(X,Y,-M1); surf(-X,flipud(Y),M1); %Reflection along y axis
or something like that?
LEONG SING YEW
am 15 Mär. 2020
Walter Roberson
am 15 Mär. 2020
It would help if we had your data to work with -- X, Y, and M1 and Ta
LEONG SING YEW
am 15 Mär. 2020
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




