Thu 10 Aug 2017 03:32:17 PM UTC, comment #1:
The version of Octave that you are using, 4.0.0, is deprecated and no longer supported. The current stable version is 4.2.1. I ran your sample code in that version and the ycolor attribute is always respected and the labels and axes turn red.
I suggest upgrading to the current stable version for better results.
|
Thu 10 Aug 2017 07:21:03 AM UTC, original submission:
ycolor in set(gca) applies only to the ticklabels, if yticklabel is set explicitly, otherwise ticklabels stay black. It seems "yticklabelmode" is not updated to "manual" when "ytick" is set. But "yticklabelmode is set to manual when "yticklabel" is set manually. Probably its the same with xcolor (but I did not check).
example (to see the different colors)
|