A list of factory-defined graphics settings that can be manipulated can be obtained by executing this command at the MATLAB prompt:
get(0,’Factory’)
To set the default color for all graphics objects, the ‘defaultfigurecolor’ property of the ROOT graphics object needs to be defined as follows:
set(0,’defaultfigurecolor’,[1 1 1])
Once the property is set, all succesive figures created will inherit this property from the ROOT graphics object.
More information on setting default color properties for handle graphics objects can be found here:
<http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/creating_plots/f7-21465.html
get(0,’Factory’)
To set the default color for all graphics objects, the ‘defaultfigurecolor’ property of the ROOT graphics object needs to be defined as follows:
set(0,’defaultfigurecolor’,[1 1 1])
Once the property is set, all succesive figures created will inherit this property from the ROOT graphics object.
More information on setting default color properties for handle graphics objects can be found here:
<http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/creating_plots/f7-21465.html
Read More:
- Linux use ls to view the file color is all white solution, and Linux file color introduction
- The first time I write OpenGL program, what should I do when I encounter “can’t open include file:” GL / glaux. H “: no such file or directory”?
- How do I download or save a YouTube video to my computer?
- [unity problem] what should I do if I encounter ‘Global::’ already contains a definition
- POI set excel cell background color (use of setfillforegrondcolor and setfillpattern)
- Why do we not need to write implementation classes in mybatis to get the objects we need
- Change Jupyter Notebook Default Directory
- Run with Python console solution is set by default for all projects in pcharm
- Idea | change the default configuration of idea to open a new project
- How to receive localdatetime type in background
- Error in plot.new() : figure margins too large
- How to Change Local Path in TFS
- How do you set, clear and toggle a single bit in C?
- Error in created hook: “typeerror: cannot read property ‘cm’ of undefined”
- How to wrap a long string in MATLAB
- How to express ln function in MATLAB?
- Invalid normalized color error in unity
- Solve the problem that “figure size 640×480 with 1 axes” does not display pictures in jupyter notebook
- The spring boot project was first created, pom.xml The error is Maven configuration problem. How to solve it?
- In the next two years, how do data analysts hang up highly educated engineers? be convinced!