Check out java.awt.geom in the Java API.
The CubicCurve2D may work for you.
Mattox
Junior Poster in Training
57 posts since Jan 2011
Reputation Points: 10
Solved Threads: 15
You can could also create a Path2D instance and add points to it if you have a specific formula that you need to plot.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847