Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

2D Graphs  RSS feed

 
daudi jjingo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone, Iam grappling with drawing a 2D graph, given a set of x values and a corresponding set of y-values. Anyone has an idea which specific set of java classes and methods are used for this? and posssibly how they are implemented? Any help will be highly appreciated.
Stay well.
 
Joe Ess
Bartender
Posts: 9425
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Swing tutorial has a section on custom painting that makes it pretty clear how to draw a graph.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!