作业帮 > 综合 > 作业

matlab 如何在3维坐标轴上画4个点 如(1,1,1),(2,2,2),(3,3,3),(4,4,4)

来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/07/22 03:38:13
matlab 如何在3维坐标轴上画4个点 如(1,1,1),(2,2,2),(3,3,3),(4,4,4)
matlab 如何在3维坐标轴上画4个点 如(1,1,1),(2,2,2),(3,3,3),(4,4,4)
close all
%画点
plot3(1,1,1,'r*')
hold on
plot3(2,2,2,'r*')
text(1,1,1,'(1,1,1)')
plot3(3,3,3,'r*')
plot3(4,4,4,'r*')
%标注
text(1,1,1,'(1,1,1)')
text(2,2,2,'(2,2,2)')
text(3,3,3,'(3,3,3)')
text(4,4,4,'(4,4,4)')
grid on
再问: 亲 能加个q不 最近学习matlab呢 遇到问题想跟您求救
再答: 974636923