Clabel
GNUPLOT will vary the linetype used for each contour level when clabel is set. When this option on (the default), a legend labels each linestyle with the z level it represents.
Syntax:
set clabel set noclabel show clabel