I am trying to create an AffineTransform to convert real coordinates to
pixel coordinates. So far I have:
double xPixPerUnit = getSIze().width/(xmax-xmin);
double yPixPerUnit = getSize().height/(ymax-ymin);
AffineTransform at = new AffineTransform(xPixPerUnit, 0,0,yPixPerUnit, 0,
0);
g2.transform(at);
This seems to work for x coordinates, but not for y coordinates. Please
help.
Thank you.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".