📄 plot_unit_sphere.m
字号:
% plot_unit_sphere% Plot a wiremesh of the unit sphere onto the current axes.function out = plot_sphere(varargin);if nargin > 0, pointCount = varargin{1};else, pointCount = 20;end[sphereX, sphereY, sphereZ] = sphere(pointCount);mesh(sphereX, sphereY, sphereZ, 1*ones(pointCount,pointCount));hidden off;axis equal;colormap(colorcube)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -