Solved

Draw Graph

Posted on 1998-11-15
9
325 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
[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
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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…
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.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

688 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