PDA

View Full Version : detailed explaining qwt example



AD
27th June 2008, 10:48
Hello! Please, give me source there are detailed explainings of simple examples! If you will find their sources in russian I will thanks twice! :)

jacek
27th June 2008, 16:28
Have you seen the examples that come with Qwt?

AD
27th June 2008, 17:45
Yes, of course! But they aren't understanding without explaining! I want to read compendium about this examples!

jacek
27th June 2008, 22:43
Yes, of course! But they aren't understanding without explaining!
OK, so pick one of those examples and tell me what you would like to have explained.

AD
30th June 2008, 06:37
OK, so pick one of those examples and tell me what you would like to have explained.

For example, I select example "realtime_plot". I don't understand destination class of IncrementalPlot!
What are doing the functions:

replot()
canvas()? Where is it's describing?

freeman_w
30th June 2008, 15:28
Hi there!

Both of them are described in "QwtPlot Class Reference"... so pick up the QwtPlot-Class
(http://qwt.sourceforge.net/class_qwt_plot.html) and browse a bit and you will find them!

But on the other side AD has a point there...
The docu isn't that advanced/complete as it should be...

I don't understand why for example, the "canvas()" member can't be found at the "Class Members" index...
There are a lot of functions that aren't indexed there...
That makes the search (and the understanding of the examples, for some people) a bit more difficult.

A good docu would really be a nice thing to have... The Qwt-docu hasn't reached that level till now... So it is ok if some people ask for it :)

jacek
9th July 2008, 21:13
For example, I select example "realtime_plot". I don't understand destination class of IncrementalPlot!
IncrementalPlot represents a plot which displays a cloud of points and allows you to add more points.


What are doing the functions:
replot()
replot() tells QwtPlot to that data has changed and the plot must be redrawn. It's because Qwt uses caching.


canvas()?
This method returns a pointer to the QwtPlotCanvas (http://qwt.sourceforge.net/class_qwt_plot_canvas.html) object. This the part of the plot on which all the drawing occurs.


Where is it's describing?
Here:
http://qwt.sourceforge.net/class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c 4b
http://qwt.sourceforge.net/class_qwt_plot.html#afcc82150034fbeb393ceb9f54ba2f 1a