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