Holds multiple functions on a single plot. Note that, only the labeling and plot options of the first plot are taken into account; a warning is reported in this case. The command setplot can be used instead.
Supported Product: FDTD, MODE, DEVICE, INTERCONNECT
Switches on the mode to hold multiple mathematical functions on the same figure.
This example will generate a figure with three lines based on the sin(x) function.
# setup data
# for logarithm, avoid non-positive values
# plot y1, y2, y3
plot(x2,y2,"xx","yy","title1","log10y, plot points");
plot(x2,2*y2, "xxx","yyy", "title2", "greyscale");
# plot labeling and options cannot work in hold on
# use setplot command instead!
The following figure shows the output of the the example code.