Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
plottools[scale] - scale PLOT and PLOT3D data structures
Calling Sequence
scale(p, a, b, pt_2d)
scale(q, a, b, c, pt_3d)
Parameters
p
-
PLOT data structure
q
PLOT3D data structure
a, b, c
real numbers; scale factors in the x, y and z directions
pt_2d
(optional) list of two real numbers specifying the center of the scale (for the 2-D case)
pt_3d
(optional) list of three real numbers specifying the center of the scale (for the 3-D case)
Description
The scale command takes a plot structure and produces a new plot structure scaled by the specified values with respect to the center (pt_2d for the 2-D case or pt_3d for the 3-D case). If pt_2d or pt_3d is not specified, the default center is at the origin.
The inputs p or q must be two- or three-dimensional plot data structures or objects, while a, b, and c are real numbers representing the scale factors in the x, y and z directions.
The result of a call to scale is a PLOT or PLOT3D data structure or object containing information to render the plot. You can assign the data structure to a variable, save it in a file, then read it back in for redisplay. For more information about plot data structures, see plot/structure or plot3d/structure.
Several commands in the plottools package can transform plots. For a list, see the plottools help page. The plots[changecoords] and plots[display] commands can also be used to transform plots.
Examples
See Also
plot, plot/structure, plot3d, plot3d/structure, plots[changecoords], plots[display], plottools[circle]
Download Help Document