Solved

Draw Graph

Posted on 1998-11-15
9
314 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
 
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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 tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

13 Experts available now in Live!

Get 1:1 Help Now