2 Attachment(s)
How to get the distance between the axis edge and the canvas edge?
Attachment 9109
How to get the distance marked by a red brace in the picture?
Can anybody tell me?
Re: How to get the distance between the axis edge and the canvas edge?
Widget or plot coordinates ?
Uwe
Re: How to get the distance between the axis edge and the canvas edge?
Which one is required for the start and end in QwtScaleWidget::setBorderDist (int start, int end)?
Quote:
Originally Posted by
Uwe
Widget or plot coordinates ?
Uwe
Uwe,
I just want to get that one which is required for the start and end in QwtScaleWidget::setBorderDist (int start, int end).
Re: How to get the distance between the axis edge and the canvas edge?
What is the motivation behind trying to modify the border distances ?
Uwe
Re: How to get the distance between the axis edge and the canvas edge?
Quote:
Originally Posted by
Uwe
What is the motivation behind trying to modify the border distances ?
Uwe
Uwe,
I am learning to use qwt to code something recently. Yesterday when I read some thread in our forum (the picture is cut from that thread)I found this.I am curious about the distance mentioned before.How does it come out? I dived into the codes about QwtPlot, QwtPlotLayout, etc.But I have no idea.And why not extend the backbone to touch the canvas edge?If I want to do that, how?
Re: How to get the distance between the axis edge and the canvas edge?
Quote:
Originally Posted by
Nicho
And why not extend the backbone to touch the canvas edge?If I want to do that, how?
See: http://qwt.sourceforge.net/class_qwt...b500dc35096d67
F.e. see the spectrogram example.
Uwe
Re: How to get the distance between the axis edge and the canvas edge?
Quote:
Originally Posted by
Uwe
Sorry, but I didn't find the html page. Is that the same with the doc about qwt-plot-layout in the 6.0 qwt package?