Turning off auto-grouping of lines into lineseries
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi! I've painfully stumbled across the following very baffling and infuriating "feature": it would appear that upon adding a fifth line object to a single axis, MATLAB unilaterally and without user notification groups up all existing and subsequent lines on that axis into a lineseries, which then prevents the brush on command from providing those lines with the BrushData property! To whit: I have an axis w/ two lines on which brushing and brush linking was working fine. I added a bunch more lines and suddenly a BrushEnd event handler I have returns the error "??? Error using ==> set There is no 'BrushData' property in the 'lineseries' class." Several hours and much hair wringing later, I finally try adding just one more line at a time: add one more line and it works fine. Add another line, works fine. Add one more line and "??? Error using ==> set There is no 'BrushData' property in the 'lineseries' class." CAN IT REALLY BE THAT AFTER ONLY FOUR LINES MATLAB UNILATERALLY AND WITHOUT USER NOTIFICATION GROUPS UP LINES INTO A LINESERIES OBJECT, WHICH THEN PREVENTS BRUSH ON FROM BEING ABLE TO PROVIDE THEM WITH THE BRUSHDATA PROPERTY!!?? AAARRGGGHH!!?? HOW DO I TURN THIS CRAZY THING OFF (or at least raise the limit at which it operates)?
댓글 수: 0
답변 (3개)
Walter Roberson
2011년 3월 16일
Lines are not autogrouped into lineseries.
댓글 수: 2
Walter Roberson
2011년 3월 16일
I've never used BrushData, and at the moment I don't have a (useable) graphic connection to my server that I could experiment with, sorry.
Matt Fig
2011년 3월 16일
I am a little confused. All of the objects returned by the PLOT function are lineseries objects. Can you give an example FOR loop which shows the error? Something like:
for ii = 1:5
L(ii) = plot(1:ii);
set(L(ii),....)
end
참고 항목
카테고리
Help Center 및 File Exchange에서 Classical Control Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!