Error, (in plot) cannot determine plotting variable - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Error Message Guide : cannotdetermineplottingvariable

Error, (in plot) cannot determine plotting variable

 

Description

Examples

Description

This error occurs when the plot command does not have enough information to determine the independent variable to be plotted.

You may have tried to plot two functions but they are functions of different variables, or you may have left some unknown variable in your plotting expressions besides the plotting variable.

Examples

Example 1

In this example, we want to plot two functions on the same graph.  However, the first is a function of t and the second is a function of x.

plotsint,x16x3

Error, (in plot) cannot determine plotting variable

Solution

To fix the problem, use the same variable in both functions.  (It can be x or t.)

plotsinx,x16x3

 

Example 2

g1x220 x40;g1x210 x40

g1x220x40

g1x210x40

(2.1)

plotg1,g2

Error, (in plot) cannot determine plotting variable

Solution

The functions g2 has not been defined.  (Note the typo in the first line, where g1 is assigned twice.) To fix, change the second g1 to g2.

g1x220 x40;g2x210 x40

g1x220x40

g2x210x40

(2.2)

plotg1,g2

 

See Also

plot

plot3d

Multiple Plots

Using the Exploration Assistant

How Do I Enter a Simple Expression?