plot - Change color of the second Y axis in the Matlab ( using new yyaxis tool) -
i use matlab r2016a. make 2 y axis of specific colours. can not somehow.
(manual says, y axis colour of right side inherits colour of first graph appears under definition of right axis plots. same should work left axis plots.)
here problem on figure:
my left side blue, while should green:
:
here code:
yyaxis left hold all; plot(bdates,normcdf(-dd_proxy_list),'r') plot(bdates,normcdf(-ddstar_proxy_list),'b') yyaxis right plot(bdates,bbdp_slice,'g')
Comments
Post a Comment