Info

この質問は閉じられています。 編集または回答するには再度開いてください。

axes displays two vector values

1 回表示 (過去 30 日間)
ram
ram 2011 年 6 月 28 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
hi, i have a problem with axes in gui, when i debugging that axes it shows two vector values. how can i proceed when it shows error in that........ pls give any idea...
  4 件のコメント
Walter Roberson
Walter Roberson 2011 年 6 月 28 日
Are you saying that handles.axes1 is a vector with two values? If so then likely what-ever code you used to assign to handles.axes1 is wrong, but we would have to see that code to tell you what to do.
ram
ram 2011 年 6 月 28 日
sir, i didnt write a code for it. but it shows two vector values, how do i find that value assigned for handles.axes1.......

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 6 月 28 日
plotyy() returns two axes values as its first output.
Did you perhaps do an assignment such as
h = plot(Y);
If you did, then h would not be an axes handle; it would be a vector of lineseries handles.
  3 件のコメント
ram
ram 2011 年 6 月 28 日
sir,'handles.axes1', it shows two vector values , how it assigned, its the problem...
Walter Roberson
Walter Roberson 2011 年 6 月 28 日
Sorry, you will have to search the code to figure out how it is assigned. handles.axes1 can be assigned different things in different programs, so we do not know what it is in your program.

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by