I have figures (in Matlab's fig file format) each of which contains a line plot with two lines (representing EEG curves), axes, bunch of labels etc.
I want to:
- change the color of the lines
- remove some of the labels
I would loop over the fig files and do the same thing for each of them.
Is there a list of all the objects within the figure that I could index and edit? How can I get to those objects using commands (i.e. without the gui)?
Childrenof each figure to obtain the handle to your axes. TheChildrenof the axes are the line object(s) that form your plot, which you can address directly and modify. Same goes for the legend but I don't remember if it's a child of the figure or of the axes; I would guess the axes. - excazafindobjmay also be useful. - excaza