1.

How To Change Contours In Gnuplot?

Answer»
  • 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.



Discussion

No Comment Found