Colormap with "hold on" on one axis

6 views (last 30 days)
Mateusz Brzezinski
Mateusz Brzezinski on 18 Feb 2021
Edited: Mateusz Brzezinski on 18 Feb 2021
I have such code:
h=trisurf(triB, x, y, z, 'FaceAlpha','0.8');
hold on
h1=trisurf(triS, x1, y, z, 'FaceAlpha','1.0');
axis vis3d
shading interp
I would like to use two diffrent color maps for h and h1.
h and h1 do not have the same size in any of x, y or z axis; h is a big ball, h1 is also a ball but smaller and inside of the biger one(h).
How can I do that?

Answers (0)

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!