Solved

Draw Graph

Posted on 1998-11-15
9
317 Views
Last Modified: 2013-11-20
How to do so that the program draws a graph with x and y axis, when the user enters some coordinates x and y.
Thank you very much.
0
Comment
Question by:chunglim
  • 6
  • 3
9 Comments
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1324732
You mean you basically want to convert from screen coordinates to coordinates one is used to seeing on something like, for example, a graphing calculator (Cartesian coordinates)?
0
 

Author Comment

by:chunglim
ID: 1324733
Yes, Cartesian graph where we have two axis, Vertical and horizontal. Just like a x-y graph in MS Excel.
0
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1324734
Okay, I can help you with that.  I will get back to you with some code, as I only have about 30 more seconds to be here, expect some information by about 6:00 PM PST.
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 6

Expert Comment

by:thresher_shark
ID: 1324735
I can send you a complete program that I wrote back in the days of DOS that does just what you want, i.e. it coverts coordinates to and from the cartesian system.  I wrote it for a math class, so it also flips images, dilates them, that sort of thing.  If you would like to see it, please post your email address.
0
 

Author Comment

by:chunglim
ID: 1324736
thresher_shark,
I would like to see the program.
My email address is
chunglim@tm.net.my

Thank you very much.
0
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1324737
Okay, I have sent you the program.  It is about 26kb, so it may take a few seconds to download.
0
 

Author Comment

by:chunglim
ID: 1324738
thresher_shark,
I have received your program.
Thank you very much.
chunglim
0
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1324739
If it answers your question, would you like me to "answer" ?
0
 
LVL 6

Accepted Solution

by:
thresher_shark earned 120 total points
ID: 1324740
I suppose I'll just answer.  If you have any other questions, please feel free to ask.  Thanks!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now