zoom - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DEtools

  

zoom

  

zoom in/out 2-D or 3-D plots

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

zoom(P, a..b, c..d)

zoom(P, a..b, c..d, e..f)

zoom(P, 1=a..b, 3=c..d, 2=e..f)

Parameters

P

-

a 2-D or 3-D plot structure

Description

• 

zoom allows for changing the ranges of the display of a given 2-D or 3-D plot without having to recalculate it, thus saving time and memory resources.

• 

Two different syntaxes are available. In the first one, the first argument (a plot) is followed by ranges. The first range will be used as horizontal range in 2-D plots, or as the "first" range in 3-D plots. The second range will be the vertical range in 2-D plots or the second horizontal range in 3-D plots. When using this syntax, all the ranges must be given; that is, two ranges for 2-D plots and three for 3-D plots.

• 

The second syntax, a bit more flexible, permits the zooming of some (or all) of the coordinates. For example, zoom just one coordinate by indicating it with a number from the list [1,2,3]. The original ranges for the other coordinates will remain unchanged.

• 

This function is part of the DEtools package, and so it can be used in the form zoom(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[zoom](..).

Examples

withDEtools:

H12p12+p22+124exp2q2+2sqrt3q1+exp2q22sqrt3q1+exp4q218

Hp122+p222+ⅇ2q2+23q124+ⅇ2q223q124+ⅇ4q22418

(1)

Create a 3-D plot of the surface-of-section.

plot1poincareH,t=100..100,0,0.1,1.4,0.1,0,stepsize=0.1,iterations=2,3

Now, zoom the plot above; it is possible to cut a slice (a small range for the third axis) and display the 2-D surface-of-section.

zoomplot1,3=0.1..0.1

Pplot3dx+2y,sinxy,x=π..π,y=π..π:

zoomP,2..2,3..3,1..1

zoomP,2=4..4,1=1..1,3=9..9

See Also

DEtools

generate_ic

hamilton_eqs

PDEtools

poincare

Poincare