incorrect specification of points data - 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 : incorrect specification of points data

Error, (in plots:-pointplot) points cannot be converted to floating-point values

Error, (in plots:-pointplot3d) points cannot be converted to floating-point values

Error, (in plots:-pointplot) incorrect specification of points data

 

Description

Examples

Description

These errors occur when the first argument to plots:-pointplot or plots:-pointplot3d is not a set of points of numeric values specified in the proper format.  For the correct syntax, see the plots:-pointplot and plots:-pointplot3d help pages.

Examples

Example 1

withplots:

The variable x is undefined:

pointplot1,2,2,x,3,8

Error, (in plots:-pointplot) points cannot be converted to floating-point values

 

Solution:

 

Defining the variable fixes this error.

x5

x:=5

(2.1)

pointplot1,2,2,x,3,8

 

Example 2

Lowercase pi is used instead of uppercase Pi.

withplots:

pointplot1,2,2,4,pi,8

Error, (in plots:-pointplot) points cannot be converted to floating-point values

 

Solution:

Using uppercase Pi corrects the error.

pointplot1,2,2,4,Pi,8

You can also use the π symbol from the Common Symbols palette.

Note: In Maple 2017 and earlier versions, error message that occurs in these examples is slightly different:

pointplot1,2,2,4,pi,8

Error, (in plots:-pointplot) incorrect specification of points data

See Also

plots[pointplot]

plots[pointplot3d]