Go to the first, previous, next, last section, table of contents.


2.3 clear

The section 2.3 clear command erases the current screen or output device as specified by section 2.18.39 output. This usually generates a formfeed on hardcopy devices. Use section 2.18.49 terminal to set the device type.

For some terminals section 2.3 clear erases only the portion of the plotting surface defined by section 2.18.46 size, so for these it can be used in conjunction with section 2.18.31 multiplot to create an inset.

Example:

      set multiplot
      plot sin(x)
      set origin 0.5,0.5
      set size 0.4,0.4
      clear
      plot cos(x)
      set nomultiplot

Please see section 2.18.31 multiplot, section 2.18.46 size, and section 2.18.38 origin for details of these commands.


Go to the first, previous, next, last section, table of contents.