Sorry, if I m asking stupid question. I want to do something fairly simple but could not find the properly API. I am sure it is there, I just don't know where to look. Anyway, this is what I would like to do. I have a colormap. Let say the data displays a circle. I want to stretch the circle into an ellipse by stretching horizontally by 2 and vertically by 5. There should be just some kind of scaling method. I have tried something like this
yAxis->setScaleRatio(ui->customPlot->xAxis, 2.5);

I did not notice any changes so I must be done something wrong. I would appreciate anyone showing me how to do this or point me to the right class and method.