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

Online Help

All Products    Maple    MapleSim


Student[Calculus1]

  

FunctionChart

  

plot a function with points of interest

 

Calling Sequence

Parameters

Description

Examples

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.

  

 

  

Property Descriptions

  

 

• 

To describe the characteristics with which a property is plotted, the following property descriptions can be used.

  

 

  

arrow

  

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.

  

 

  

arrowoptions = list

  

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

  

The concavity is shown using these properties.  By default, the concavity is shown by with arrows pointing up/down where the concavity is positive/negative and distinct fill colors also highlighting the different concavity regions. These properties are not used if they are used to display slope or sign. They can be turned off by using concavity = [].

  

 

  

functionoptions = list

  

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 colored curve 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.

  

 

  

pointoptions = list

  

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 (0<fx) and where it is negative (fx<0) 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 slope is shown using these properties.  By default, the slope is shown by coloring the curve in distinct colors where the slope is positive or negative. These properties are not used if they are used to display concavity or sign. They can be turned off by using slope = [].

  

 

  

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.

Examples

withStudentCalculus1&colon;

FunctionChartxexpx&comma;6..1&comma;concavity=&comma;slope=colorred&comma;black

FunctionChartsinx+x&comma;pointoptions=symbolsize=20

FunctionChartsinx+x2&comma;slope=thickness2&comma;1&comma;linestylesolid&comma;dash&comma;concavity=arrow&comma;pointoptions=symbolsize=20

FunctionChart2x3+1&comma;x&comma;sign=linestyledash&comma;solid&comma;colorcyan&comma;magenta&comma;filledcoral&comma;wheat&comma;thickness3&comma;1&comma;slope=&comma;concavity=

The command to create the plot from the Plotting Guide is

FunctionChartx34x250x+12x2x17

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]