From: Cemil Kirbas on

Is there a way to change font color of YTickLabel of a colorbar from black to white? Any help is appreciated.

Cemil
From: us on
On May 13, 3:08 pm, "Cemil Kirbas" <ckir...(a)fastmail.fm> wrote:
>  Is there a way to change font color of YTickLabel of a colorbar from black to white? Any help is appreciated.
>
> Cemil

one of the soutions

line(1:10,rand(1,10));
set(gca,'ycolor',[1,0,0]);

us
From: Steven Lord on

"Cemil Kirbas" <ckirbas(a)fastmail.fm> wrote in message
news:hsgtjk$a6$1(a)fred.mathworks.com...
>
> Is there a way to change font color of YTickLabel of a colorbar from black
> to white? Any help is appreciated.

Try it!

h = colorbar;

get(h) % To see the list of properties

set(h, 'YColor', [1 1 1])

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


 | 
Pages: 1
Prev: datatip callback
Next: vehicle network toolbox