QColorMapDemo a demo of colormap using QCustomPlot How to use QCustomplot you just need to #include "qcustomplot.h" which class need to use