Create light object for specific axes handle in gui

I am trying to light a surface plot in one of my axes in my gui. the light function creates a light object for the current axes, but I want to specify the handle of the axes I am creating a light object for.
e.g.
surf(handles.axes1,X,Y,Z);
light(handles.axes1);
though light cannot accept axes handles. Is there a solution? Thanks.

 Respuesta aceptada

Sean de Wolski
Sean de Wolski el 12 de Jun. de 2013

0 votos

1 comentario

Samuel
Samuel el 12 de Jun. de 2013
Thanks, that seems so obvious now. I was getting quite frustrated.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Object Properties en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 12 de Jun. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by