Solved

# Draw Graph

Posted on 1998-11-15
321 Views
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
Question by:chunglim
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 6
• 3

LVL 6

Expert Comment

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

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

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

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

ID: 1324736
thresher_shark,
I would like to see the program.
chunglim@tm.net.my

Thank you very much.
0

LVL 6

Expert Comment

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

ID: 1324738
thresher_shark,
Thank you very much.
chunglim
0

LVL 6

Expert Comment

ID: 1324739
0

LVL 6

Accepted Solution

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

Question has a verified solution.

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

### Suggested Solutions

Add content to output file 4 72
How to determine file rename from EventLog ? 2 62
Doc'in system (example?) BA 7 126
Path of Workbook 3 87
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
###### Suggested Courses
Course of the Month7 days, 22 hours left to enroll