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
Student[Calculus1][PointInterpolation] - simplistic approximation of a function
Calling Sequence
PointInterpolation(f(x), x = a..b, opts)
PointInterpolation(f(x), a..b, opts)
Parameters
f(x)
-
algebraic expression in variable 'x'
x
name; specify the independent variable
a, b
algebraic expressions; specify the plot range
opts
equation(s) of the form option=value where option is one of functionoptions, interpolation, interpolationoptions, numpoints, output, pointoptions, showfunction, showinterpolant, showpoints, view, or Student plot options; specify options for the plot
Description
The PointInterpolation(f(x), x=a..b) command plots the function f(x) and an approximation to f(x) obtained by sampling f(x) at a series of points and interpolating those points.
If no range is provided, the range is used.
If the independent variable can be uniquely determined from the expression, the parameter x need not be included in the calling sequence.
This routine demonstrates the failures that can result from attempting to graph an expression without finding further information about the function such as zeros, extreme points, inflection points, and asymptotes.
The opts argument can contain any of the Student plot options or any of the following equations that set plot options.
functionoptions = list
A list of options for the plot of the expression . By default, the expression is plotted as a solid red line. For more information on plot options, see plot/options.
interpolation = spline or linear
Whether cubic spline or linear interpolation is used to approximate the function. By default, the value is spline.
interpolationoptions = list of values
A list of options for the plot of the interpolation. By default, the interpolation is plotted as a solid blue line. For more information on plot options, see plot/options.
numpoints = posint
The number of points evenly spaced points that span the interval . By default, the value is 6.
output = plot or animation
This option controls the return value of the function.
* output = plot specifies that a plot, which shows f(x), the points of interpolation, and the interpolant, is displayed. This is the default.
* output = animation specifies that an animation, where the first iteration shows f(x), the next adds the interpolation points, and the third adds the interpolant, is displayed.
pointoptions = list
A list of options for the plot of the interpolating points. By default, these points are plotted as blue circles. For more information on plot options, see plot/options.
showfunction = true or false
Whether the expression is plotted. By default, the value is true.
showinterpolant = true or false
Whether the interpolant is plotted. By default, the value is true.
showpoints = true or false
Whether the interpolation points are marked. By default, the value is true.
view = [DEFAULT or numeric..numeric, DEFAULT or numeric..numeric]
The view of the final plot.
caption = anything
A caption for the plot.
The default caption is constructed from the parameters and the command options. caption = "" disables the default caption. For more information about specifying a caption , see plot/typesetting.
title = anything
A title for the plot.
The default title is constructed from the parameters and the command options. title = "" disables the default title. For more information about specifying a title, see plot/typesetting.
Examples
The command to create the plot from the Plotting Guide is
See Also
plot/options, plot/typesetting, Student, Student plot options, Student[Calculus1], Student[Calculus1][VisualizationOverview]
Download Help Document