how can I change lighting using codes?

Now, I plot a figure, however, it is dark. And I use the button to change the lighting, I am wondering whether there exists a method to change lighting using codes.

 Risposta accettata

Walter Roberson
Walter Roberson il 11 Apr 2022

3 Commenti

However, whether there exists a function replace the button
cameratoolbar('togglescenelight');
It is really useful! Thank you so much.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Graphics Objects in Centro assistenza e File Exchange

Prodotti

Release

R2018b

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by