0byt3m1n1
Path:
C:
/
Program Files
/
R
/
R-4.2.2
/
library
/
colorspace
/
hclwizard
/
html
/
[
Home
]
File: matlab.html
<comment>%% Create surface data</comment> <code>[X,Y] = meshgrid(-8:.5:8);</code> <code>R = sqrt(X.^2 + Y.^2) + eps;</code> <code>Z = sin(R)./R;</code> <comment>%% Plotting surface</comment> <code>surf(X,Y,Z,'EdgeColor','black')</code> <comment>%% Adding your color palette and colorbar</comment> <code>colormap(colors)</code> <code>colorbar()</code>