| 1 |
C Copyright(C) 1999-2020 National Technology & Engineering Solutions |
| 2 |
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 3 |
C NTESS, the U.S. Government retains certain rights in this software. |
| 4 |
C |
| 5 |
C See packages/seacas/LICENSE for details |
| 6 |
|
| 7 |
C======================================================================= |
| 8 |
SUBROUTINE GRCOLU (MAP) |
| 9 |
C======================================================================= |
| 10 |
|
| 11 |
C --*** GRCOLU *** (GRPLIB) Set color table to use (PLT) |
| 12 |
C -- Written by Amy Gilkey - revised 04/11/88 |
| 13 |
C -- |
| 14 |
C --GRCOLU sets the color table to use. |
| 15 |
C -- |
| 16 |
C --Parameters: |
| 17 |
C -- MAP - IN - the color table map to use: |
| 18 |
C -- 'STANDARD' = standard color map |
| 19 |
C -- 'ALTERNATE' = alternate color map (if defined) |
| 20 |
C -- |
| 21 |
C --Common Variables: |
| 22 |
C -- Uses DEVOK, ICURDV, NUMCOL, MAPALT of /GRPCOM/ |
| 23 |
C -- Sets MAPUSE of /GRPCOM/ |
| 24 |
|
| 25 |
include 'grpcom.blk' |
| 26 |
|
| 27 |
CHARACTER*(*) MAP |
| 28 |
|
| 29 |
IF (MAP .EQ. 'ALTERNATE') THEN |
| 30 |
MAPUSE(ICURDV) = MAPALT(ICURDV) |
| 31 |
ELSE |
| 32 |
MAPUSE(ICURDV) = 0 |
| 33 |
END IF |
| 34 |
|
| 35 |
RETURN |
| 36 |
END |