The PyXPlot logo

PyXPlot

Examples - Colourmap with Contours


A colour map of the function x^3/20+y^2, with superimposed contours.

Script

set xlabel "$x$"
set ylabel "$y$"
set nokey
set size 8 square
set samples grid 400x400
set nogrid
plot [-10:10][-10:10] x**3/20+y**2 with colourmap, \
                      x**3/20+y**2 with contours col green lw 2 lt 1

      

Notes

A colour map of the function x^3/20+y^2, with superimposed contours.