Azzera filtri
Azzera filtri

Displaying Graphic Object Handles

4 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Walter Roberson
Walter Roberson il 16 Lug 2017

Più risposte (0)

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by