It's nice that the plot command tries to warn the users about incorrect inputs: [> plot(sin, x=4..6); Error, (in plot) invalid plotting of procedures, perhaps you mean plot(sin, 4 .. 6) [> plot([cos,sin], x=4..6); Error, (in plot) invalid plotting of procedures, perhaps you mean plot([cos, sin], 4 .. 6) However, there is a shortcoming that I suggest should be fixed: These lines produce a warning and an incorrect plot [> plot([cos,sin(x)], 4..6); [> plot([cos(x),sin], 4..6); [> plot([cos(x),sin(x)], 4..6); Whereas these lines produce no warning and an incorrect plot [> plot([cos,sin(x)], x=4..6); [> plot([cos(x),sin], x=4..6); Truly, all of the situations above should generate errors, since plot(x, 4..6); is an invalid plotting of an expression and plot(sin, x=4..6); is an invalid plotting of a function. In the mean time, does anyone know of a way to trap both warnings and errors? --Schivnorr

Please Wait...