Thread View: att.lang.c++
2 messages
2 total messages
Started by Nguyen
Tue, 06 Apr 1999 00:00
Please Help me for a graph coordinates (X,Y) for mathematics.
Author: Nguyen
Date: Tue, 06 Apr 1999 00:00
Date: Tue, 06 Apr 1999 00:00
18 lines
968 bytes
968 bytes
Hi all of you. I am a C and C++ programming guy. I love to write a math application where I can plot a graph of a line equation or curve equation such as: y = 5x -6 or y=x^2,.......... I would love to receive help from you for the algorithm for this work. My problem is: I cannot think of a way to make the coordinate at the centre of the screen and how can I go about to do this??? Please help me. I am desperate. Thanks very much. Frank.
Re: Please Help me for a graph coordinates (X,Y) for mathematics.
Author: Khemara
Date: Thu, 15 Apr 1999 00:00
Date: Thu, 15 Apr 1999 00:00
25 lines
1356 bytes
1356 bytes
before you plot the cooridants just modify the x and y values. x= x+(getmaxx()/2); y= -(y+(getmaxy()/2)); Nguyen <nguyen@yesic.com> wrote in message news:01be809f$1c0b2380$4a6d0dd8@nguyen.yesic.com... > Hi all of you. I am a C and C++ programming guy. I love to write a math > application where I can plot a graph of a line equation or curve equation > such as: > > y = 5x -6 or y=x^2,.......... > > > I would love to receive help from you for the algorithm for this work. My > problem is: > > I cannot think of a way to make the coordinate at the centre of the screen > and how can I go about to do this??? > > Please help me. > > I am desperate. Thanks very much. > > Frank.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads