DEtools[zoom] - zoom in/out 2-D or 3-D plots
|
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
|
|
>
|
|
>
|
|
| (1) |
Create a 3-D plot of the surface-of-section.
>
|
|
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.
>
|
|
>
|
|
>
|
|
>
|
|
|
|
Download Help Document
Was this information helpful?