Plot 如何在一个图形中显示两个带有图例和符号的绘图,如下图所示?

Plot 如何在一个图形中显示两个带有图例和符号的绘图,如下图所示?,plot,legend,symbols,maple,Plot,Legend,Symbols,Maple,一个图形中的两个绘图,以及maple中的图例和符号这里有两种方式。根据需要进行调整。有关目标,请参阅帮助页 非常感谢您的回答 restart; exactsol := sin(2*x)*exp(x): approxsol := sin(1.5*x)*exp(x): plots:-display( plot(exactsol, x=0..1, adaptive=false, numpoints=10, style=pointline, symbol=solidcircle,


一个图形中的两个绘图,以及maple中的图例和符号这里有两种方式。根据需要进行调整。有关目标,请参阅帮助页


非常感谢您的回答
restart;
exactsol := sin(2*x)*exp(x):
approxsol := sin(1.5*x)*exp(x):

plots:-display(
  plot(exactsol, x=0..1, adaptive=false, numpoints=10,
       style=pointline, symbol=solidcircle, color=black,
       symbolsize=15, legend="Exact Solution"),
  plot(approxsol, x=0..1, adaptive=false, numpoints=10,
       style=pointline, symbol=solidbox, color=red,
       symbolsize=15, legend="Approximate Solution"),
  legendstyle=[location=right], size=[700,400]);
plots:-display(
  plot(exactsol, x=0..1, adaptive=false, numpoints=10,
       style=pointline, symbol=solidcircle, color=black,
       symbolsize=15),
  plot(approxsol, x=0..1, adaptive=false, numpoints=10,
       style=pointline, symbol=solidbox, color=red,
       symbolsize=15),
  plot(0.6, 0.65..0.72, adaptive=false, numpoints=2,
       style=pointline, symbol=solidcircle, color=black,
       symbolsize=15),
  plot(0.3, 0.65..0.72, adaptive=false, numpoints=2,
       style=pointline, symbol=solidbox, color=red,
       symbolsize=15),
  plots:-textplot([0.75,0.6,"Exact Solution"],align=right),
  plots:-textplot([0.75,0.3,"Approximate Solution"],align=right),
  size=[700,400]);