How to change contours in Gnuplot?

How to change contours in Gnuplot?

- Contours are controlled by the command ‘set cntrparam’.

- Following example illustrates change of contours:

gnuplot> set contour

gnuplot> set cntrparam levels 12

gnuplot> set cntrparam levels incremental -1, 0.2, 1

gnuplot> set cntrparam levels discrete -0.2, -0.5, 0.2, 0.5

- The key world ‘levels’ defines the levels of drawn contour curves.

- In the above example, levels 12 indicates that twelve contour lines are drawn.

- Incremental defines the initial value, increment value and the final value.

- A legend for contour lines is available in the legend graph.
Post your comment