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!