Hi Martin,
using plscolbg() sets the 0th color (which was black) to white (you
could also use plscol0(0, 255, 255, 255); instead). You get a white
background, but if you use plcol(0), you draw in white not in black,
since you changed it. I usually define the 15th color as black
(default white) with plscol0(15, 0, 0, 0); so that I can draw the axis
in black using plcol(15).
HTH,
Werner
On 09.07.2008, at 13:02, Martin Sarajervi wrote:
> Hi,
>
> I'm having trouble setting the color black on my axis, when I do
> they just dont show up.
>
> I do the following in my code:
> ---------------------------------------------
> plscolbg(255, 255, 255) /* define white background */
> plinit();
>
> ...[snip]...
>
> and then before I set my lables I do:
> plcol0(0); /* set black axis */
> -----------------------------------------------
>
> All other colors works when I set the axis in another color.
> Suggestions?
>
> Best,
> Martin
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08_______________________________________________
> Plplot-general mailing list
> Plp...@li...
> https://lists.sourceforge.net/lists/listinfo/plplot-general
--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria
email: sm...@ia...
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499
|