I´m a begginer in java and i would like to know how can i create graphs like:
y=ax+b for example
thanks
Jump to PostAre you familiar with any of AWT or Swing?
Jump to PostIt is not very difficult. Just start reading some tutorial. One thing, if you want to use JAVA for plotting and graphing only, I don't think it will be a good idea. MATLAB or Maple or similar softwares will serve you better.
Are you familiar with any of AWT or Swing?
not really:S
It is not very difficult. Just start reading some tutorial. One thing, if you want to use JAVA for plotting and graphing only, I don't think it will be a good idea. MATLAB or Maple or similar softwares will serve you better.
The 2D graphics tutorial should be enough to get you started: http://java.sun.com/docs/books/tutorial/2d/index.html
Once you see how to paint a simple line or geometric primitive on a frame, you should have no trouble drawing a basic graph of a function.
thanks;)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.