fimplicit3: colormapping (3DContourPlot)
5 views (last 30 days)
This is totally optional and off pure interest:
If I plot a manifold with this powerful function:
f = @(x,y,z) x.^2 + y.^2 - z.^2;
The shape is exactly as I want. Just if: how do I change colorgradient?
I'm not well versed with terms like Edgecolor etc.
Scott Ronquist on 30 Jan 2021
The color gradient in this figure can be changed by using the colormap function. Predefined colormaps are listed here, but any custom color map can be used by inputting a m x 3 numeric matrix into colormap. See example below:
>> f = @(x,y,z) x.^2 + y.^2 - z.^2;
Hope this helps!