作者cholauda (cholauda)
看板MATLAB
標題[請益] XColor
時間Fri Dec 15 16:01:50 2017
請教大大,
小弟嘗試改變x軸的顏色,
可以透過More Properties直接改
但是想寫在m file裡面卻失敗
XColor('r')
錯誤訊息為
??? Undefined function or method 'XColor'
for input arguments of type 'char'.
真的非常奇怪!
懇請解惑
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 175.183.64.183
※ 文章網址: https://webptt.com/m.aspx?n=bbs/MATLAB/M.1513324912.A.0B3.html
1F:→ LiamIssac: 應該要從axis handle函數去改吧 12/15 16:12
2F:→ cholauda: 懇請樓上明示 12/15 17:09
3F:推 physbook: set( gca, 'xcolor', 'r' ); 12/15 18:36
4F:→ physbook: 之類的 12/15 18:37
5F:→ cholauda: 成功了,感謝大大們指點! 12/16 10:23