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!