Ermm - shouldn't that be $ystart instead of $xstop?$ystop = int($xstop + $tick_length*sin($drawn_angle*$deg2rad));
As an aside, 3.1417 is not as near an approximation to PI (3.14159...) as 3.1416 is :)
Cheers, Ben.
In reply to Re: Drawing arcs with Tk and labeling them, problems with the math?
by benn
in thread Drawing arcs with Tk and labeling them, problems with the math?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |