Use Plot Browser While in Data Cursor Mode
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a figure with ~50 different sets of data plotted onto it (the below line of code is in a loop).
plot3(scope_data(1:end,1),-scope_data(1:end,2),-scope_data(1:end,3), '.','LineWidth',2);
legendInfo = [legendInfo regexprep(files(j).name,'.txt','')];
After all of the data sets are plotted, I go into data cursor mode in order to select specific points.
dcm_obj = datacursormode(fig);
set(dcm_obj,'DisplayStyle','datatip',...
'SnapToDataVertex','off','Enable','on')
Things are great, I can select points and get the values I need.. but there is one glaring issue. I am relying heavily on the native "Plot Browser" in order to differentiate between overlapping data sets. Normally, in the plot browser, I can select a data set by name based off of my legend and hide that set or delete it. How can I hide specific sets so that I can focus on a select few while still in data cursor mode? Is this possible?
Thanks for any feedback. I'm far from an expert so apologies if I don't understand solutions right away.
TLDR: This "hide" does not work while I'm in data cursor mode - I really would like for it to

댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!