Question: maple 9 to maple 12 code incompatibility

Hello,

some time ago I have developed a procedure for nonlinear regression in Maple 9 that worked perfectly. Upgrading to Maple 12, the code still works well, except for the part in which I plotted the experimental datapoints and the calculated curve:

with(plots):
     yy := YY;
     p1 := plot(yy, xx=0..5, color=[blue], style=[line]):
     u := [seq([X[i],Y[i]],i=1..N)];
     p2 := plot(u, color=[black], style=[point]):
     display([p1,p2]);
The output is now: display([PLOT(...), PLOT(...)]).

How do I rewrite the code to receive a "real" plot again?

Thanks

Magdalena

Please Wait...