Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

comprehensive list of graphics object types matlab

I could not find a comprehensive graphics object types list that could be especially useful to find an modify objects in matlab plots such as:

findall(gcf,'Type','Line'); %get all line objects in the current figure

To be more precise: I'm looking for a list of possible input after the argument 'Type'.

like image 630
user2305193 Avatar asked Dec 08 '25 19:12

user2305193


1 Answers

I am not aware of a way to get the comprehensive list, but you can get the list of types for existing objects:

types = unique(get(findall(gcf, '-property', 'Type'), 'Type'));

Practically I think this is enough, since we are not interested in those non-existing objects.

like image 124
Xiangrui Li Avatar answered Dec 10 '25 15:12

Xiangrui Li



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!