For Programmers: Free Programming Magazines  


Home > Archive > Fortran > September 2005 > quickwin graphics in CVF









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author quickwin graphics in CVF
tholen@antispam.ham

2005-09-22, 6:58 pm

I wrote a quick and dirty program to generate a plot using a few of
the graphics routines in CVF and the quick win capabilities of the
compiler. The resulting plot came out white on a black background.
Is there a similarly quick and dirty way to invert the default so
that I get black on a white background?

FJRA

2005-09-22, 6:58 pm

Hi, use:
j = setcolor(0)
j = setbkcolor(15)
call ClearScreen($GCLEARSCREEN)
j any integer var.

FJRA

tholen@antispam.ham

2005-09-23, 7:58 am

Thanks, that's just what the doctor ordered.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com