Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

title (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the plots class.

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.

Details

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

This function is not supported in the LabVIEW Run-Time Engine if you request an output from the function. Either do not request an output or remove this function from scripts before you build a stand-alone application or shared library.

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


Resources


 

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