How to plot graph scale?

1 次查看(过去 30 天)
Hello
In the picture below, how can I create the scales shown by the arrows?
Thank you

采纳的回答

Sajeer Modavan
Sajeer Modavan 2019-3-18
figure
plot3([2953500 2955000],[3805000 3805000],[4150000 4150000],'Linewidth',2),hold on
plot3([2955000 2955000],[3805000 3806500],[4150000 4150000],'Linewidth',2)
plot3([2955000 2955000],[3805000 3805000],[4150000 4152000],'Linewidth',2)
text(2952800,3805000,4150000,'1km','FontSize',12)
text(2955000,3807000,4150000,'1km','FontSize',12)
text(2955000,3805000,4152500,'1km','FontSize',12)
plot3([2962500 2964000],[3820000 3820000],[4150000 4150000],'Linewidth',2)
plot3([2964000 2964000],[3820000 3821500],[4150000 4150000],'Linewidth',2)
plot3([2964000 2964000],[3820000 3820000],[4150000 4152000],'Linewidth',2)
text(2961800,3820000,4150000,'1cm','FontSize',12)
text(2964500,3820000,4150000,'1cm','FontSize',12)
text(2963500,3820000,4153000,'1cm','FontSize',12)
grid on
xlim([2952000 2966000])
ylim([3804000 3822000])
zlim([4150000 4162000])
set(gca,'ydir','reverse');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by