How to plot graph scale?

조회 수: 2 (최근 30일)
ali veli
ali veli 2019년 3월 18일
댓글: ali veli 2019년 3월 18일
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