Draw Graph

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.
chunglimAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
thresher_sharkConnect With a Mentor Commented:
I suppose I'll just answer.  If you have any other questions, please feel free to ask.  Thanks!
0
 
thresher_sharkCommented:
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
 
chunglimAuthor Commented:
Yes, Cartesian graph where we have two axis, Vertical and horizontal. Just like a x-y graph in MS Excel.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
thresher_sharkCommented:
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
 
thresher_sharkCommented:
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
 
chunglimAuthor Commented:
thresher_shark,
I would like to see the program.
My email address is
chunglim@tm.net.my

Thank you very much.
0
 
thresher_sharkCommented:
Okay, I have sent you the program.  It is about 26kb, so it may take a few seconds to download.
0
 
chunglimAuthor Commented:
thresher_shark,
I have received your program.
Thank you very much.
chunglim
0
 
thresher_sharkCommented:
If it answers your question, would you like me to "answer" ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.