How can I plot graphs in java? I mean to say is there any API I can use for plotting stuff likey = 5x^2 + 3x - 3
: with the x and y axis ...and with units?
ThanQ
How can I plot graphs in java? I mean to say is there any API I can use for plotting stuff likey = 5x^2 + 3x - 3
: with the x and y axis ...and with units?
ThanQ
try things like JGraph or JXGraph. I've not used them myself but seen some output and it looks good.
http://today.java.net/pub/a/today/2006/04/20/bringing-swing-to-the-web.html might give some pointers.
I had a really awesome piece of code that would plot ANY order of polynomial virtually with no work and virtually no real utility methods. I may have it and may not :) I'll look for it though.
I might also add that you should use the drawPolyLine or whatever the methods called instead of continously drawing lines. It makes it a full line instead of having the dots.
Thanx I've just downloaded the swingx package. The screeny here looks impressive.
http://www.jroller.com/page/gfx?entry=jxgraph_in_swingx
Need to figure out how to use it now :)
However, I'll have a go at doing this myself first, drawpolyline you say...I'll look into that. ThanQ
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.