How can I resolve index exceeding error while I plot something?
이전 댓글 표시
Hello all, I'm keep having error when I tried to put title on my plot. The error message said "Index exceeds matrix dimensions." Here's my code, so please let me know why I got this message. Thanks!
figure
title('2')
h = plot(dataCenter(:,1),dataCenter(:,2),'Color','b')
댓글 수: 2
kowshik Thopalli
2017년 3월 25일
Can you tell us about the dimensions of dataCenter? or upload it ? and for the title to be added to the graph, please use the command after the plot command
Jinah Lee
2017년 3월 25일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!