How to plot graph scale?

1 vue (au cours des 30 derniers jours)
ali veli
ali veli le 18 Mar 2019
Commenté : ali veli le 18 Mar 2019
Hello
In the picture below, how can I create the scales shown by the arrows?
Thank you

Réponse acceptée

Sajeer Modavan
Sajeer Modavan le 18 Mar 2019
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');

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by