![]() | Download Help (Windows Only) |
Owning Class: plots
Requires: MathScript RT Module
title(text)
title(text, name1, value1, ..., nameN, valueN)
obj = title(text)
obj = title(text, name1, value1, ..., nameN, valueN)
Adds a title to the current plot. title(text, name1, value1, ..., nameN, valueN) sets the text attributes according to the attribute names and values you specify.
Name | Description |
---|---|
text | Specifies the title you want to add to the current plot. text is a string. |
name | Specifies the name of the attribute. name is a string. |
value | Specifies the value of the attribute. |
Name | Description |
---|---|
obj | Returns the reference to the title LabVIEW creates. obj is a reference to a text object. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | No (returns error or is ignored) |
Supported on RT targets | No |
X = [0:0.01:1];
Y = X.*X;
plot(X, Y)
title('My Plot')
X = cos(0:0.1:10);
plot(X)
obj = title('My Plot', 'Color', 'w', 'BackgroundColor', 'k')
Helpful
Not Helpful