Debian Codegraph @

inst/hclwizard/html/matlab.html

raw symbols SCIP
1
2 <comment>%% Create surface data</comment>
3 <code>[X,Y] = meshgrid(-8:.5:8);</code>
4 <code>R = sqrt(X.^2 + Y.^2) + eps;</code>
5 <code>Z = sin(R)./R;</code>
6
7 <comment>%% Plotting surface</comment>
8 <code>surf(X,Y,Z,'EdgeColor','black')</code>
9
10 <comment>%% Adding your color palette and colorbar</comment>
11 <code>colormap(colors)</code>
12 <code>colorbar()</code>