Why does Matlab R2013b display backgroundcolor in RGB format ?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am using MATLAB 2013b .I set the background color of a block by : right clicking on the block>> Format>> Backgroundcolor>>Green. But when I try to get the color of the block from the command window, it gives the color in RGB format and not as green .
>>get_param(gcbh,'Backgroundcolor')
ans= [0.000000, 0.819608, 0.000000]
Now I color another block and try to get the color property
>> get_param(gcbh,'BackgroundColor')
ans =
green
Could you please explain why there is a difference and how could I solve this ?
0 commentaires
Réponses (1)
Jan
le 12 Mar 2015
All we know about the difference between the 2 examples is that you color "a block" at first and "another block" at second.
Please provide more information, e.g. if the order matters or if you are talking of different blocks. The Matlab and OS version might be useful also.
Please explain also, why the observed effect is a problem, because currently it is hard to suggest a workaround, when it is not clear, why your work is impeded by this detail.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!