invalid input: invalid range for first variable - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Error Message Guide : invalid input: invalid range for first variable

Error, (in plots/implicitplot) invalid input: invalid range for first variable

 

Description

Examples

Description

The plots:-implicitplot command computes the two-dimensional plot of an implicitly defined curve.

 

The invalid input: invalid range for first variable error occurs when an unknown range is passed to the implicitplot command.

Examples

withplots:

 

Example 1

The value of a is undefined.

implicitplotx2+y2=1,x=0..a,y=0..1

Error, (in plots/implicitplot) invalid input: invalid range for first variable

 

Solution:

The solution is to define a.

a1

a1

(2.1)

implicitplotx2+y2=1,x=0..a,y=0..1

Example 2

In this instance, the first range is dependent on the second variable.  It is permissible to plot an implicit plot for which the second range depends on the first variable, but the first range must evaluate to numeric values.

implicitplotyx2,x=0..y,y=0..x

Error, (in plots/implicitplot) invalid input: invalid range for first variable

 

Solution:

Specify a first range that is independent of the second variable.  For instance,

implicitplotyx2,x=0..2,y=0..x

See Also

plots:-implicitplot