Is it possible space between first x-axis tick and y-axis also last x-axis tick and y-axis2?
Is it possible space between first x-axis tick and y-axis also last x-axis tick and y-axis2?
I'm not sure I understand that sentence. Do you wish to increase the distance between almost overlapping tick labels at the touching boundaries of axes? If so, you have different options: You could for example increase the tick label padding with QCPAxis::setTickLabelPadding
, or you could displace the whole axis with QCPAxis::setOffset
.
I have a more detailed question to add.
I tried to set the visibility to false for x and y axis. Unfortunatly there is still a gap between the qcustomplot frame and the plotted minimum and maximum values. How can I fit the plot to the frame of the qcustomplot widget?
Regards,
DeDe