why am I getting this error, Subscript indices must either be real positive integers or logicals, when trying to set axis limits?
4 ビュー (過去 30 日間)
古いコメントを表示
I am plotting two volltage against time, I try to set the axis as follows,
axis([-0.1, 0.1 40 140])
but get this error; Subscript indices must either be real positive integers or logicals.
0 件のコメント
採用された回答
Star Strider
2015 年 3 月 17 日
In the Command Window, type:
whos axis
I suspect you have a variable named ‘axis’ that is causing the error. The solution: rename the variable.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Object Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!