Kyle
Ansys Employee

You can plot multiple lines on one figure with script command if you use the "holdon" command in your script:
After you use the "holdon" command, all plots made with the "plot" command will be created in the same figure. You can turn this off with the "holdoff" command.
Because there are two plot commands in this script for two different plots, you will have to change the script to replicate the plots in the example. Either you can remove one of the plot commands and run the simulation and script for the three materials, or you will have to save the data from each simulation in the script workspace and plot them all in the same script.