How to use gplot for co-ordinates
조회 수: 1 (최근 30일)
이전 댓글 표시
I very simply want to use gplot for two vectors (x and y), such that they create 5 co-ordinates.
How do I do this? (syntax-wise)
Thanks a lot
댓글 수: 0
채택된 답변
Dishant Arora
2013년 9월 2일
gplot(eye(length(x)) , [x' , y'], '*');
% x and y are row vectors containing co-ordinates.
댓글 수: 0
추가 답변 (1개)
Brian
2013년 9월 2일
댓글 수: 6
Dishant Arora
2013년 9월 2일
use ones matrix instead of identity matrix as argument in gplot.
gplot(ones(length(x)), [x , y])
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!