フィルターのクリア

Info

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

Get Tags for All Brushed Objects

2 ビュー (過去 30 日間)
Alex
Alex 2016 年 7 月 28 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
How can I access the 'Tag' of each brushed object?
Here's a simple example of what I want to accomplish using two lines.(Note: In this example the 'Tag' fields are empty, but let's assume that in my real application they contain text information...)
plot(1:1:9,9:-1:1); hold on; plot(1:1:9,1:1:9,'r');
When I brush a number of graphics objects > right click > Create Variable, the following dialog pops up. It shows the brushed objects, the Type, and the Tag. I would like to extract the information from the 'Tag' field.
I tried this, but it just returned an empty GraphicsPlaceholder array.
>> findobj(gcf,'-property','BrushData')
I'm using R2015a. Most of the examples I found seemed to be from older versions of Matlab, so maybe something changed with HG2?

回答 (0 件)

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

Community Treasure Hunt

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

Start Hunting!

Translated by