2-D and 3-D plots illustrating a mathematical function
name of a known mathematical function; see FunctionAdvisor(known_functions)
The FunctionAdvisor(plot math_function) command displays 2-D and 3-D plots illustrating math_function following, where possible, the NIST Digital Library of Mathematical Functions.
The 3-D plots displayed by FunctionAdvisor(plot math_function) involve three kinds of plot structures. First there are the standard 3-D plots you can construct using plot3d, used for instance for some functions of many arguments provided that the function is real for real values of its arguments. Second, there are 3-D plots constructed using plots:-complexplot3d, where the vertical axis represent the absolute value of the function and the two horizontal axes represent the Real and Imaginary parts of the main plotting complex variable. Finally, some plots are obtained using plots:-plotcompare with the option expression_plot, appropriate to illustrate branch cuts.
After displaying the plots on the screen, the actual value returned by FunctionAdvisor(plot math_function) is NULL. You can get the plots structures themselves in two different ways: right-click the plot, copy, then paste into an input region, or use MathematicalFunctions:-Get(plot, math_function) as shown in the last example.
2-D and 3-D plots illustrating the natural logarithm, respectively of a real and complex variable
You can rotate the 3-D plots with the mouse. Also, you can change the way a plot (2-D or 3-D) is presented in different ways (Style, Color, Orientation, etc.) from the Context Panel for the plot or the Plot menu.
Note the similarity between the 2-D plots of ln and the exponential integral Ei function of a real variable; over the complex plane, however, these functions behave rather different
In most cases, when a function involves different number of arguments, plots for the different cases are presented, for example GAMMA represents both the Gamma function (case of one argument) and the incomplete gamma function (case of two arguments)
The 2-D plots of the JacobiSN (elliptic sin function) of a real variable resemble the plots for sin
2-D and 3-D plots illustrating the important 2F1 case of the generalized hypergeometric function
To get the plot structure itself, for instance those for the hypergeometric function displayed above, use
plots_hypergeom ≔ MathematicalFunctions:-Get⁡plot,hypergeom
Having the plotting structures assigned to plots_hypergeom you can now manipulate each plot as desired, for example, consider the second 2-D plot:
Change the title, change the color, and make the plot be constrained (note the use of the keyword overrideoptions of plots:-display)
plots:-display⁡plots_hypergeom12,overrideoptions,color=Blue,axes=boxed,scaling=constrained,title=2F1 hypergeometric function
The FunctionAdvisor/plot command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
Download Help Document