在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
代码如下所示: % 绘制地球仪,并标出我们的位置 cla reset;load topo; [x y z] = sphere(45); s = surface(x,y,z,'FaceColor','texturemap','CData',topo); colormap(topomap1); % Brighten the colormap for better annotation visibility: brighten(.6) % Create and arrange the camera and lighting for better visibility: % campos([1.3239 -14.4250 9.4954]); campos([0 0 0]); camlight; lighting gouraud; axis off vis3d; % Set the x- and y-coordinates of the textarrow object: x = [0.7698 0.5851]; y = [0.3593 0.5492]; % Create the textarrow object: txtar = annotation('textarrow',x,y,'String','This is China.','color','red','FontSize',14); 运行后的结果图 代码如下: %绘制地球仪 运行结果如图所示 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论