Setting the default renderer

I know how to change the default rendering using the Matlab GUI , but I would like to use artist rendering instead of opengl all the time, and not change it every time.

Is there a way to set the default rendering in Matlab using the set command. I am looking for a command like: set(groot, 'defaultRenderer', 'painters')

Thanks!

+4
source share
1 answer

As you can see here , you can build each default property that you want by combining default + class name + property .

In your case, it will be:

 set(0, 'defaultFigureRenderer', 'painters') 

respectively

 set(groot, 'defaultFigureRenderer', 'painters') 

You can check get(groot,'default') .

Remember that the default value is only for the current session! Restarting will omit the changes. To install it permanently, enter a line in the initial file . .

+3
source

All Articles