This is plcol.c in view mode; [Download] [Up]
/* Sets line color */
#include "plplot.h"
void plcol(color)
int color;
{
int font,col;
int level;
glev(&level);
if (level < 1) plexit("Please call plstar before calling plcol.");
if (color < 0) plexit("Invalid color in plcol.");
gatt(&font,&col);
satt(font,color);
grcol();
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.