Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Problem to program a graph which is capable of plotting Quadratic and Linear equations

  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Problem to program a graph which is capable of plotting Quadratic and Linear equations

    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.


  2. #2
    Forum old-timer
    Join Date
    Nov 2008
    Location
    Faversham, Kent, UK
    Posts
    471
    My Mood
    Mellow
    Thanks
    4
    Thanked 58 Times in 54 Posts

    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?