QCustomPlot Discussion and Comments

How to load picture and show its pixel to coordinate?Return to overview

I want to use Qcustomplot to show a png format picture. Now I could show picture with QCPItemPixmap, and the size of picture is 4000*4000. However, the axis show only 5*5. How could I make axis show corresponding to my picture? Many thanks.

The getting started tutorial explains how to change the axis ranges.