File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Graphing program question

 
Adam Wilkins
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone suggest a good method of graphing data that will fall outside the range of the X and Y resolution of my window?

Let's say I had a parabola with x and y values over 2000. How could I put that in an X/Y coordinate system in a window that is only 300x300 using the drawLine() for each point? I have tried some division to scale it down, but I don't quite get the results I want.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, what results do you get? Scaling down by a factor would be the approach to take. Maybe you can post a snippet of code that shows what you're doing, and describe for us what you were expecting, and what you are actually observing.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic