From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: calculation display in graphic mode Date: 12 Jul 2002 15:37:42 GMT Organization: Aachen University of Technology (RWTH) Lines: 14 Message-ID: References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1026488262 23536 137.226.32.75 (12 Jul 2002 15:37:42 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 12 Jul 2002 15:37:42 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Patrick Chen wrote: > I intend to plot an x-y function curve in graphic mode. > How to put the scaling numbers on the x and y axes? > Are there any built-in library function to convert floating values to > graphic character? There's sprintf(), which lets you print floating point numbers into text strings. How to display text strings to screen in graphics mode is a separate adventure. Every graphics library worth its salt will have some support for this. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.