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

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

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Member of the plots class.

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

plot
axis


Resources


 

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