Go Back   Java Programming Forums > Java Standard Edition Programming Help > Java SE APIs


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-11-2008, 06:22 AM
Junior Member
 

Join Date: Nov 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
iykepiccolo2008 is on a distinguished road
Unhappy java graphics2D

Hi everyone, i am not new to java. Im an above average programmer and i want to program a graph that is capable of plotting quadratic and Linear equations. The problem is that i dont know how to take care of points that are in decimal. Drawing with pixels cause the points to be so close to one another that you cannot distinguish between them ( say 1.5 and 1.6 ). If anyone can help (maybe to define my own coordinates) please do. Thanks.



Reply With Quote Share this thread on Facebook
Sponsored Links
Java Training from DevelopIntelligence
  #2 (permalink)  
Old 14-11-2008, 07:00 PM
Member
 

Join Date: Nov 2008
Posts: 121
Thanks: 0
Thanked 4 Times in 4 Posts
dlorde is on a distinguished road
Default Re: java graphics2D

I'm not sure I understand the problem - can't you adjust the scale (resolution) by multiplying the values by some scale factor?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




100 most searched terms
Search Cloud
actionlistener actionlistener in java addactionlistener addactionlister buffered read two integer value in java cannot find symbol method create an abstract class called shape with abstract methods+java double to integer in java double to integer java eclipse shortcut keys exception in thread "awt-eventqueue-0" java.lang.outofmemoryerror: java heap space format double java get files from folder java by threads get mouse position java how to convert list to map in java how to format double in java how to format doubles in java how to make a calculator in jframe using jcreator http://www.javaprogrammingforums.com/object-oriented-programming/3713-limiting-decimal-places-double.html java actionlistener java cos java deallocate java double format java double to int java font attributes java format double java forum java forums java get mouse position java heap size exception java jbutton java nextline() java program to find dimensions of a room java programming codes using astirisks java programming forum java programming forums java.lang.classformaterror: truncated class file java.lang.outofmemoryerror: java heap space java.lang.reflect.invocationtargetexception jbutton actionlistener jbutton with key enter jtable questions in java jtext bold jtextarea font jxl.read.biff.biffexception: unable to recognize ole stream mean value decimal double java oops java assignments smack api messagelistener two dimensional arraylist in java typecast in java

All times are GMT. The time now is 09:24 AM.
Powered by vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.