Article View: att.lang.c++
Article #181Re: Please Help me for a graph coordinates (X,Y) for mathematics.
From: 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.
Technical Details
Message-ID:
<7f5gvf$g85$1@autumn.news.rcn.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01be809f$1c0b2380$4a6d0dd8@nguyen.yesic.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4ba,64226e6b85f9e157 X-Google-Attributes: gid10d4ba,public From: "Khemara" <khemara98@hotmail.com> Subject: Re: Please Help me for a graph coordinates (X,Y) for mathematics. Date: 1999/04/15 Message-ID: <7f5gvf$g85$1@autumn.news.rcn.net> X-Deja-AN: 466846435 References: <01be809f$1c0b2380$4a6d0dd8@nguyen.yesic.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@rcn.com X-Trace: Jy0nLRptb97GzACWHwGeKmaobXmMRXdON1kpsFQXhVU= X-MSMail-Priority: Normal NNTP-Posting-Date: 15 Apr 1999 20:08:15 GMT Newsgroups: att.lang.c++