[請益] 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