Credits | Overview | Plotting Styles | Commands | Terminals |
---|
The 3D plot style with contourfill slices a pm3d surface into sections delimited by a set of planes perpendicular to the z axis. The command set contourfill controls placement of these limiting planes and the colors assigned to the individual sections.
Syntax:
set contourfill auto N # split zrange evenly into N slices set contourfill ztics # slice at each z axis major tick set contourfill cbtics # slice at each cb axis major tick set contourfill {palette | firstlinetype N}
The default is set contourfill auto 5 palette, which splits the current z range into five equal slices (6 bounding planes) and assigns each slice the palette mapped color of its midpoint z value.
The options ztics or cbtics place split zrange by slicing at major ticks along that axis. For example to slice specifically at z=2.5, z=7 and z=10 you could use the commands below.
set ztics add ("floor" 2.5, "boundary X" 7, "ceiling" 10) set contourfill ztics
If you do not want to use palette coloring for the sections, you can choose any arbitrary range of successive linetypes and assign them the desired color sequence.
set for [i=101:110] linetype i lc mycolor[i] set contourfill firstlinetype 101
set contourfill palette restores palette coloring.