Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

plotting on MATLAB on 2D and 3D

조회 수: 2 (최근 30일)
ali hassan
ali hassan 2020년 10월 13일
마감: MATLAB Answer Bot 2021년 8월 20일
actually i have the following variables which i want to plot on 2D.
the variables are:
x_1 = 13; y_1 = 14; z_1 = 5; %thses points should be plotted as "circle"
x_2 = 4; y_2 = 8; z_2 = 2; %thses points should be plotted as "circle"
x_3 = 5; y_3 = 2; z_3 = 6; %thses points should be plotted as "circle"
x_4 = 10; y_4 = 8; z_4 = 4; %thses points should be plotted as "circle"
xs=10;ys=20;zs=9; %thses points should be plotted as "cross"
i want to know the code to plot them
BESTREGARDS

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 10월 13일
편집: Ameer Hamza 2020년 10월 13일
See plot3(): https://www.mathworks.com/help/matlab/ref/plot3.html and read about LineSpec input argument.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by