View Full Version : How to get the distance between the axis edge and the canvas edge?
Nicho
6th June 2013, 13:34
9109
How to get the distance marked by a red brace in the picture?
Can anybody tell me?
Widget or plot coordinates ?
Uwe
Nicho
7th June 2013, 07:23
Which one is required for the start and end in QwtScaleWidget::setBorderDist (int start, int end)?
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).
What is the motivation behind trying to modify the border distances ?
Uwe
Nicho
7th June 2013, 08:20
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?
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_plot_layout.html#ad243b9afc9b5ce9530b500 dc35096d67
F.e. see the spectrogram example.
Uwe
Nicho
7th June 2013, 13:39
See: http://qwt.sourceforge.net/class_qwt_plot_layout.html#ad243b9afc9b5ce9530b500 dc35096d67
F.e. see the spectrogram example.
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?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.