From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

datescale (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

datescale(s)

datescale(s, format)

Legacy Name: datetick

Description

Displays a time stamp for the x-scale or y-scale of a plot.

Examples

Inputs

Name Description
s Specifies whether to display the time stamp for the x-scale or y-scale of the plot. s is a string that accepts the following values.

x Displays the time stamp for the x-scale.
y Displays the time stamp for the y-scale.
format Specifies the time format of the scale. format is a string.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine No (always ignored)
Supported on RT targets No

Examples

x = [date_to_num('9-Apr-2007') date_to_num('10-Apr-2007') date_to_num('11-Apr-2007') date_to_num('12-Apr-2007') date_to_num('13-Apr-2007')];
y = rand(5, 1);
plot(x, y);
datescale('x', 'dd-mmm-yyyy');

Related Topics

date_to_str

WAS THIS ARTICLE HELPFUL?

Not Helpful