Student[Calculus1][FunctionChart] - plot a function with points of interest
|
Calling Sequence
|
|
FunctionChart(f(x), x, opts)
FunctionChart(f(x), x = a..b, opts)
FunctionChart(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 arrowoptions, concavity, functionoptions, numarrows, pointoptions, sign, slope, or Student plot options; specify options for the plot
|
|
|
|
|
Description
|
|
•
|
The FunctionChart(f(x), x=a..b) command plots the function with qualitative information about the properties of the function f(x). Color, arrows, fill, line thickness, line style, and various point marks are used to indicate regions of increase, decrease, upward and downward concavity, critical points, and other features.
|
•
|
Note: The FunctionChart routine can be called using either the FunctionChart command or the FunctionPlot command. They are identical commands. Use the command name that you prefer.
|
•
|
Circles, diamonds and crosses are used to display the roots, extreme points and inflection points of the function.
|
•
|
If the independent variable can be uniquely determined from the expression, the parameter x need not be included in the calling sequence.
|
•
|
If no range is provided, the range is used.
|
•
|
To describe the characteristics with which a property is plotted, the following property descriptions can be used.
|
|
Display the regions where the property is positive with arrows pointing up and regions where the property is negative with arrows pointing down.
|
|
color(poscolor, negcolor)
|
|
Plot the function with the color poscolor where the property is positive, and negcolor where the property is negative. For more information on plot colors, see plot/color.
|
|
filled(poscolor, negcolor)
|
|
Plot the function with a fill colored poscolor where the property is positive, and negcolor where the property is negative. For more information on plot colors, see plot/color.
|
|
linestyle(posstyle, negstyle)
|
|
Plot the function with a line style posstyle where the property is positive, and negstyle where the property is negative, where negstyle and posstyle are chosen from solid, dash, dot, and dashdot.
|
|
thickness(posthick, negthick)
|
|
Plot the function with a thickness posthick where the property is positive, and negthick where the property is negative, where negthick and posthick are chosen from 0, 1, 2, and 3.
|
•
|
The opts argument can contain any of the Student plot options or any of the following equations that set plot options.
|
|
Options which are passed to the plots[arrow] command when plotting arrows. For more information on valid options, see plots[arrow].
|
|
concavity = property description or list of property descriptions
|
|
A list of options for the plot of the function. The options color, linestyle, and thickness are ignored if they are used to display sign, slope, or concavity. By default the function is plotted as a red line with thickness equal to 1. For more information on plot options, see plot/options.
|
|
numarrows = positive integer
|
|
The number of arrows used when using arrows to display a property.
|
|
A list of options for the plot of the roots, extreme points and inflection points. The option symbol cannot be used. For more information on plot options, see plot/options.
|
|
sign = property description or list of property descriptions
|
|
Regions where the sign of the function is positive () and where it is negative () are shown by these properties. By default, the sign is not shown with any property descriptions.
|
|
slope = property description or list of property descriptions
|
|
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.
|
|
|
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][Asymptotes], Student[Calculus1][CriticalPoints], Student[Calculus1][CurveAnalysisTutor], Student[Calculus1][ExtremePoints], Student[Calculus1][InflectionPoints], Student[Calculus1][Roots], Student[Calculus1][VisualizationOverview]
|
|