# Drawing lines/curves and/or plot points

Rob Hunter

Ranch Hand

Posts: 832

posted 4 years ago

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

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