xlabel('time','rotation',30)
建议多使用 help,自己解决问题,而不是一味发问。说实话,你的问题一时半刻我回答不到,我也是 help 出来的:
1. doc xlabel 就会见到:- xlabel(...,'PropertyName',PropertyValue,...)
- specifies property name and property value pairs for the text graphics object created by xlabel.
复制代码 2. 点击上面的 text 标识的链接,这等同于 doc text
3. 之后就在页面中找到:- text(x,y,z,'string','PropertyName',PropertyValue....)
- adds the string in quotes to the location defined by the coordinates and uses the values for the specified text properties. See the text property list section at the end of this page for a list of text properties.
复制代码 4. 按照3的指示点击页面底部 Text Properties for property descriptions 中的链接
5. 最后找到这个属性:-
- Rotation
- scalar (default = 0)
- Text orientation. This property determines the orientation of the text string. Specify values of rotation in degrees (positive angles cause counterclockwise rotation).
复制代码
[ 本帖最后由 eight 于 2008-2-22 17:00 编辑 ] |