Error, (in plots/implicitplot) invalid input: invalid range for nth variable
Description
Examples
The plots[implicitplot] command computes the two-dimensional plot of an implicitly defined curve.
The invalid input: invalid range for nth variable error occurs when an unknown range is passed to the implicitplot command.
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.
a≔1
a:=1
Example 2
The arguments are passed to implicitplot out of order. For more information about the correct calling sequence, see the plots[implicitplot] help page.
implicitploty=0..1,x=0..1,x2+y2=1
Error, (in plots/implicitplot) invalid input: invalid range for second variable
implicitplotx2+y2=1,y=0..1,x=0..1
Example 3
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.
implicitplot⁡y−x2,x=0..y,y=0..x
Specify a first range that is independent of the second variable. For instance,
implicitplot⁡y−x2,x=0..2,y=0..x
See Also
plots[implicitplot]
Download Help Document
What kind of issue would you like to report? (Optional)