매트랩 scatter plot 원점을 지정할수 없나요?

4 views (last 30 days)
yuna choi
yuna choi on 20 Nov 2020
Answered: Srivardhan Gadila on 27 Nov 2020
매트랩에서 산점도를 그리고 싶은데, 한 점을 영점으로 선택하고 그 영점을 기준으로 산점도를 그릴 수 없나요??
배운적은 없고, 구글링이랑 여러 가지 참고하면서 하고 있습니다.
사실 이런 데이터로 산점도를 그리는 법도 잘 모르겠습니다.
이런 행렬 값으로 산점도를 나타내고 싶습니다.
scatter(trueA1,trueA2,'r','.')
hold on
scatter(data1,data2,'b','.')
이런식으로 했는데
true라 설정된 값이 원점으로 한 그래프는 어떻게 그리나요?

Answers (1)

Srivardhan Gadila
Srivardhan Gadila on 27 Nov 2020
You can refer to the documentation of Rulers in the Axes Properties and also axis.

Community Treasure Hunt

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

Start Hunting!