MATLAB Answers

Zoltán Csáti
0

MATLAB inverts colors in uicontrol objects

Asked by Zoltán Csáti
on 15 Sep 2013

I wrote a GUI application but my problem is that when I save the figure programatically using the saveas command, colors of the uicontrol objects seem to be inverted. The MATLAB Documentation says that inversion only applies to figures, not uicontrols. But here it is not the case. Does anybody have an idea?

Thanks,

Zoli

  9 Comments

should be 'off' instead of 'false'

Sorry try 'off' instead of 'false'

I tried it but failed. I mean the colour of the uicontrol objects were converted to light green instead of grey. Could you please try my saveAs function on your machine with a custom figure with a pushbutton on it? Perhaps you will exactly know what I'm thinking of. Thank you for your help so far.

Products

0 Answers

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!