[PyKDE] (no subject)
star gazer
th1138x at yahoo.com
Fri Nov 22 02:00:01 GMT 2002
I am wondering if this is possible in pyqt. I would
like to create a line graph with the vertical axis 0 -
5 and the horizontal axis 0 - 500. I would then like
to input a text file with 10 values pairs in it. the
X values are 0,50,100,150,200 etc (every 50) the Y
values gradualy increase from 1 - 5 forming a linear
line. What I would like to be able to do is create
the graph in pyqt and then "grab" the data points and
move then in the Y axis only and use bspline curves at
those points to reshape the line. Then I would line
to be able to create a new textfile with the refined
data from every iteration on the x axis ie.
0,1,2,3,4,5,6,7,8,9,10,11 etc. The file would be 500
lines long.
I was wondering if this would be possible in pyqt. I
am using version 3.1 of Qt and the snapshot version of
pyqt that compiles against 3.1.
The key thing is the ability the interactivly move the
original points and create a smooth curve and then
generate the individual point data.
Any kind of help would be greatly appreciated
Star Gazer
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the PyQt
mailing list