PDA

View Full Version : How to create own graph(Curve graph) using Qt ?



karankumar1609
9th July 2013, 11:04
Hello Everyone,

I am starting a new project which require a graph (Curve graph) with its specific features.
I am willing to make it in QGraphicsScene, and i do not want to usw QWT graph api.
Well i have many problems in developing the graph....

1. I have to plot a lot of data in it (Around 3000 - 6000 points)
2. Draw two plots with different axis values (For both plot a new axis is visible behind the current axis. i.e, side by side)

as for the above problems it should have to be fast anc accurate...
Well i am newbie in developing that kind of stuffs., please help me out what will be the structure i follow to create a graph(Curve graph).
and the best way to implement...

THANKS

rawfool
9th July 2013, 11:58
If you don't want to use Qwt (http://qwt.sourceforge.net/), then have a look at QCustomPlot (http://www.qcustomplot.com/). I might not have understood your requirement, but suggesting an alternative if you cannot use Qwt.

karankumar1609
9th July 2013, 14:14
thanks rawfool,

Actually i had already used QCustomPlot but something i need to develop my own graph with my own customization as i mentiones above.
May be my customizations are something odd, but thats my need.

a graph having two axis on LHS
Two graph curves
etc...

Thanks for QCustomPlot, but i need to know if i want to create my own graph then what should i consider before starting development?


ANY IDEA ????
YOUR IDEAS WILL BE HELPFUL TO ME....

tfgo777
11th July 2013, 12:48
I am trying to sketch some shapes in my program and I would like to know the best technique to do that. The shapes are actually sections of clothoids and I know the begin and end factor for each of them as well as their begin and end curve.