Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

title (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: plots

Requires: MathScript RT Module

Syntax

title(text)

title(text, name1, value1, ..., nameN, valueN)

obj = title(text)

obj = title(text, name1, value1, ..., nameN, valueN)

Description

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.

Examples

Inputs

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.

Outputs

Name Description
obj Returns the reference to the title LabVIEW creates. obj is a reference to a text object.

Details

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

Examples

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')

Related Topics

text
xlabel
ylabel
zlabel


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit