MATLAB中,想在画出的图形中标示出计算出的数据,怎么弄?比如:程序算出I=5要想在画出的图形中标示出I=5,怎么弄?
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/20 16:10:10
![MATLAB中,想在画出的图形中标示出计算出的数据,怎么弄?比如:程序算出I=5要想在画出的图形中标示出I=5,怎么弄?](/uploads/image/z/1157290-34-0.jpg?t=MATLAB%E4%B8%AD%2C%E6%83%B3%E5%9C%A8%E7%94%BB%E5%87%BA%E7%9A%84%E5%9B%BE%E5%BD%A2%E4%B8%AD%E6%A0%87%E7%A4%BA%E5%87%BA%E8%AE%A1%E7%AE%97%E5%87%BA%E7%9A%84%E6%95%B0%E6%8D%AE%2C%E6%80%8E%E4%B9%88%E5%BC%84%3F%E6%AF%94%E5%A6%82%EF%BC%9A%E7%A8%8B%E5%BA%8F%E7%AE%97%E5%87%BAI%3D5%E8%A6%81%E6%83%B3%E5%9C%A8%E7%94%BB%E5%87%BA%E7%9A%84%E5%9B%BE%E5%BD%A2%E4%B8%AD%E6%A0%87%E7%A4%BA%E5%87%BAI%3D5%2C%E6%80%8E%E4%B9%88%E5%BC%84%3F)
MATLAB中,想在画出的图形中标示出计算出的数据,怎么弄?比如:程序算出I=5要想在画出的图形中标示出I=5,怎么弄?
MATLAB中,想在画出的图形中标示出计算出的数据,怎么弄?
比如:程序算出I=5
要想在画出的图形中标示出I=5,怎么弄?
MATLAB中,想在画出的图形中标示出计算出的数据,怎么弄?比如:程序算出I=5要想在画出的图形中标示出I=5,怎么弄?
>> help text
TEXT Text annotation.
TEXT(X,Y,'string') adds the text in the quotes to location (X,Y)
on the current axes,where (X,Y) is in units from the current
plot.If X and Y are vectors,TEXT writes the text at all locations
given.If 'string' is an array the same number of rows as the
length of X and Y,TEXT marks each point with the corresponding row
of the 'string' array.
TEXT(X,Y,Z,'string') adds text in 3-D coordinates.
TEXT returns a column vector of handles to TEXT objects,one
handle per text object.TEXT objects are children of AXES objects.
The X,Y pair (X,Y,Z triple for 3-D) can be followed by
parameter/value pairs to specify additional properties of the text.
The X,Y pair (X,Y,Z triple for 3-D) can be omitted entirely,and
all properties specified using parameter/value pairs.
Execute GET(H),where H is a text handle,to see a list of text
object properties and their current values.Execute SET(H) to see a
list of text object properties and legal property values.
See also xlabel,ylabel,zlabel,title,gtext,line,patch.
Reference page in Help browser
doc text