Re: clickedx



Hi sir,

Thanks for the reply....

I am trying to solve my problem using "singals" example.

1)Using  button_press_cb() we are printing x and y values according to
scale ex: 206.107 and 35.4237.

2)by using coord.x and coord.y we are getting pixels value
 ex: 65 and 100.

3)But what i need is the value(or nearest) in terms of the POINTS that
we used to plot the sine waves..
ex :X[xvalue]=206.107;
ie xvalue= 206;because X[206]=206; and X[207]=207;
The i value which we used to calculate sine and cos waves in the for
loop.

4)I need the value only for X and not for Y..

I think the way i communicated to you is not explained the problem i
faced. But now it is clear i feel... please give me some idea..

Regards,
Naveen.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]