Where to find a complete list of supported class names for 'set' command?
1 view (last 30 days)
I am trying to configure some default figure parameters in my startup.m file, however I can not find some of the appropriate classes and associated input options for using the set function.
For example, I would like to set the x, y and z axes label default font sizes to 18. Instead of writing
xlabel('x', 'FontSize', 18),
ylabel('y', 'FontSize', 18),
zlabel('z', 'FontSize', 18);
all fo the time, I would like to use something like
set(0, 'DefaultXlabelFontSize', 16) % this is obviously incorrect, just an example
in my startup file, but I can not find the list of classes that are supported by set. Can somebody point me to the location where I can find all of the valid class names along with all of the associated valid options for each class when using set? Thank you.
More Answers (1)
TastyPastry on 29 Oct 2015
I don't think such documentation exists. The issue is that set() is an extremely generic. Its function differs wildly with what you're trying to use it for. For example, plots and uicontrol have many different options/parameters which can be changed using set(). As MATLAB adds or deletes new functionality such as uitable(), uipanel(), etc., the function of set() will expand or contract.
If you're looking for all the things you can use set() for in regards to plotting, the plot() documentation will tell you what you can use set() for when the target is a plot, axes, etc.