Solved

Draw Graph

Posted on 1998-11-15
9
318 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Folder Comparison 12 54
Shell script to login to remote m/c and execute commands 10 78
viewing source code from eclipse 13 110
matchUp  challenge 6 69
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…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.

861 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