Plotting with Maple next up previous
Next: Two-Dimensional Plots Up: Maple for Intensive Analysis: Previous: Some useful Maple commands

Plotting with Maple

Maple provides plotting commands for a variety of different types of objects in two and three dimensions. For a more comprehensive list of commands, a detailed discussion of their syntax and features, and numerous examples, see the on-line Help Browser in Maple.

Each plotting command requires an expression (or expressions) in a variable and the domain for the variable.. Maple then samples a meaningful set (or grid) of points in the domain and displays the results for you according to the routine of the particular plotting command. These expressions can be symbolic formulas in the plotting variables, function definitions that you have made, or sets of data. For example, if you have made the function definition in Maple

        f:=x -> 3*x^2 - sin(x);
you could use f(x) in any Maple routine in which you wanted to evaluate, manipulate, or plot the function tex2html_wrap_inline409 . We can also define functions of more than one independent variable. For example,
        f:= (x,y) -> x^2 - 3*y^2;
defines the function tex2html_wrap_inline411 . Below we will use symbols f(x), f(x,y), g(x), etc. for expressions in Maple rather than particular expressions in the variables. Remember, Maple will not evaluate any expression involving these symbols if they have not been defined prior to their use.

Each plotting command requires the domain of the independent variables. We will express these in the form x = a..b where a and b can either be explicit numerical values or constants whose values have been assigned prior to their use.

Note: All the plotting commands except for plot and plot3d are contained in the external package plots, which must be loaded using

      with(plots);
before you can use its plotting commands.




Thu Jul 29 16:02:26 EDT 1999