[请益] XColor

楼主: cholauda (cholauda)   2017-12-15 16:01:50
请教大大,
小弟尝试改变x轴的颜色,
可以透过More Properties直接改
但是想写在m file里面却失败
XColor('r')
错误讯息为
??? Undefined function or method 'XColor'
for input arguments of type 'char'.
真的非常奇怪!
恳请解惑
谢谢
作者: LiamIssac (Madchester)   2017-12-15 16:12:00
应该要从axis handle函数去改吧
楼主: cholauda (cholauda)   2017-12-15 17:09:00
恳请楼上明示
作者: physbook (路克)   2017-12-15 18:36:00
set( gca, 'xcolor', 'r' );之类的
楼主: cholauda (cholauda)   2017-12-16 10:23:00
成功了,感谢大大们指点!

Links booklink

Contact Us: admin [ a t ] ucptt.com