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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Abr. de 2022

0 votos

3 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Versión

R2018b

Etiquetas

Preguntada:

el 11 de Abr. de 2022

Comentada:

el 11 de Abr. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by