0

Are there any libraries for drawing an X, Y Axis/Grid for Graphing. For example, graphing inequalities, or linear equations, etc...

Or is it possible to use awt/swing? Basically what I'm looking to be able to do is draw something like this:

enter image description here

Maroun
  • 91,013
  • 29
  • 181
  • 233
Brandon
  • 951
  • 4
  • 12
  • 30
  • 2
    [`MapPanel`](http://stackoverflow.com/a/14887457/230513) is an example; please edit your question to include an [sscce](http://sscce.org/) that any problems you encounter using the approach shown. – trashgod May 07 '13 at 21:56
  • 2
    Yes, it's possible. Take a look at [Perfoming Custom Panting](http://docs.oracle.com/javase/tutorial/uiswing/painting/) and [2D Graphics](http://docs.oracle.com/javase/tutorial/uiswing/painting/) – MadProgrammer May 07 '13 at 22:22
  • 1
    [`SineTest`](http://stackoverflow.com/a/9373195/230513) shows how to plot using cartesian coordinates. – trashgod May 08 '13 at 02:14

0 Answers0