Credits Overview Plotting Styles Commands Terminals

Multiplots

Commands executed during initial creation of a multiplot are now stored in a datablock $GPVAL_LAST_MULTIPLOT. They can be replayed by the new command remultiplot. Certain saved commands that would be problematic during replay are not reexecuted. Note that the regenerated multiplot may not exactly match the original if graphics settings (axis ranges, logscale, etc) have changed in the interim.

The following sequence of commands will save both the original graphics state and the multiplot commands to a script file that can be reloaded later.

     save "my_multiplot.gp"
     set multiplot
     ... various commands to generate the component plots ...
     unset multiplot
     set print "my_multiplot.gp" append
     print $GPVAL_LAST_MULTIPLOT
     unset print