MATLAB: Displaying Graphic Object Handles

bargethandlesobjectsplot

Hi all,
I know this might be a simple question, but every time I come across this one, it seems to puzzle me.
Say I have a figure with anything it it. It can be:
plot
plot with a fit => plot(fitfunction,xdata,ydata)
bar graph
contour plot
scatter plot
I think you get the idea.
Now, I want to go and change many of the default formatting options of these objects. To do this I remember by-heart in some cases that for plots I will do h.LineWidth to change the weight of the line, or h.MarkerEdgeColor to change the edge colour of a scatter plot marker.
However, for more complicated cases, I am not aware of what formatting options I have, and therefore what is the name of the handle that I must call. For the following case for example:
h = plot(fitfunction,xdata,ydata) ;
get(h)
All i get is: For a call to GET of the form "get(h)" with no left hand side, h must be scalar. So I do not know what handles I have available to 'play' with.
Consequently, what is a standard approach such that you have all the handle names for each graphic object at hand displayed?
Thanks for your responses in advance,
KMT.

Best Answer

get(h(1))