注释(),并在Matlab文本() [英] annotation() and text() in Matlab

查看:120
本文介绍了注释(),并在Matlab文本()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道什么是注释()在Matlab文本()函数之间的区别?在何种情况下是其中之一$ pferred了另一个p $?

I wonder what is the difference between annotation() and text() functions in Matlab? In what cases are one of them preferred over the other?

感谢和问候!

推荐答案

TEXT 定位相对于轴文本。相比之下,注解位置图相关。注释可以把数字不仅文字,但线条,形状,箭头等
因此,本文以轴柄作为参数(或GCA当前轴)和注释以图句柄(或GCF电流图)。

TEXT positions text in relation to axes. In contrast, ANNOTATION position is figure-related. ANNOTATION can put on figure not only text, but lines, shapes, arrows, etc. Consequently, TEXT takes axes handles as an argument (or gca for current axes), and ANNOTATION takes figure handles (or gcf for current figure).

这篇关于注释(),并在Matlab文本()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆