Mostrar comentarios más antiguos
Hi
What is the Matlab Property Name for a number (double)
example
set(HHH,'color','r');
instead of color I want to set a variable with number
2 comentarios
Andrew Newell
el 26 de En. de 2012
Properties may be set to char, double or other types, but they are not in themselves names for a type. What is HHH? A graphics handle?
koko kinder
el 26 de En. de 2012
Respuesta aceptada
Más respuestas (1)
the cyclist
el 26 de En. de 2012
red = [1 0 0];
set(HHH,'color',red)
1 comentario
koko kinder
el 26 de En. de 2012
Categorías
Más información sobre Graphics Object Properties en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!