Java Graph Drawing - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Java Graph Drawing

Description:

Mygraph mygr = new mygraph() ; Package plot. Improved Version 2. Low level methods in NormG ... maths function. UML class diagrams. Design based MVC approach ... – PowerPoint PPT presentation

Number of Views:61
Avg rating:3.0/5.0
Slides: 7
Provided by: Jo66
Category:
Tags: drawing | graph | java | use

less

Transcript and Presenter's Notes

Title: Java Graph Drawing


1
Java Graph Drawing
  • Program development

2
Index
  • 1 plot.java pink
  • 2 gplot - green
  • 3 plotgrafs - white

3
Package gplot
  • Version 1 tests methods
  • Uses Normalised Device Coordinates NDC
  • Test methods, getmin, scale, translate, polyline
    etc
  • Uses graph object
  • Mygraph mygr new mygraph()

4
Package plot
  • Improved Version 2
  • Low level methods in NormG
  • Graph methods in grahobj
  • Supports 3 modes of plotting
  • Mode 1 autoscaling plotgraphX
  • Mode 2 manual scaling
  • Mode 3 incremental plotting

5
Package gplot cont.
  • Additional methods added
  • markRect, markOval
  • Marks axes using graphics text methods
  • Set reference to graphics object
  • Ng.setg(g, xMAX, yMAX)
  • Gobj.setNgref( Ng )

6
Project plotgrafs
  • Ver 3 - multiple graph plotting
  • Demonstrates use of gplot
  • Graphobj GobjX new graphobj()
  • Plot 3 different graphs in window
  • Model object for maths function
  • UML class diagrams
  • Design based MVC approach
Write a Comment
User Comments (0)
About PowerShow.com