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

zoom (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: plots

Requires: MathScript RT Module

Syntax

zoom(a)

Description

Zooms in on and out of the current graph.

Details

Examples

Inputs

Name Description
a Specifies the zoom factor. LabVIEW zooms in on the current graph by a factor of a if a is greater than 1. LabVIEW zooms out of the current graph by a factor of 1/a if a is greater than 0 and less than 1. a is a scalar.

Details

This function is not supported in the LabVIEW Run-Time Engine. This function can remain in your scripts when you build a stand-alone application or shared library, but the LabVIEW Run-Time Engine does not execute this function.

Examples

X = [0:0.01:1];
Y = X.*X;
plot(X, Y, 'bo-')
zoom(2)

Related Topics

axis
plot


 

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