*
The moose likes Java in General and the fly likes Drawing lines/curves and/or plot points Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Drawing lines/curves and/or plot points" Watch "Drawing lines/curves and/or plot points" New topic
Author

Drawing lines/curves and/or plot points

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 815
Below is an image I found using google. I essentially want to create a java class that gets fed in x and y coordinates and plots them or creates a line between each point as well (curve, etc..,). Anyone know what I can use to do this? Is there a class or such that can draw the 4 quadrant graph with points or curve? Thanks ain advance.

http://www.google.ca/imgres?q=draw+graph+lines+curves&hl=en&sa=X&biw=1616&bih=644&tbm=isch&prmd=imvns&tbnid=4wlYrm_3E1XGBM:&imgrefurl=http://www.algebra.com/algebra/homework/Polynomials-and-rational-expressions/Polynomials-and-rational-expressions.faq.question.363578.html&docid=sdA8X-zpYkQCIM&w=308&h=302&ei=lEbrT7fgLKa40QGf2tHwBQ&zoom=1&iact=hc&vpx=176&vpy=301&dur=878&hovh=222&hovw=227&tx=157&ty=109&sig=103835623246666600063&page=2&tbnh=140&tbnw=143&start=21&ndsp=31&ved=1t:429,r:23,s:21,i:212
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Drawing lines/curves and/or plot points
 
Similar Threads
Layered JPanels Transparency Problem.
help in plotting points
Urgent help needed
regarding draw a graph with zoom speciality
Need help with Linear Equations.