color bar when printed in black and white

Prince K. Xavier xavier at CAOS.IISC.ERNET.IN
Mon Feb 21 01:59:02 EST 2005


Hello,

please see grey.gs attached. It has a wide range of grey shades.
You can assigne the required colors to your shaded contours from this.

Hope this helps
Prince

On Mon, 21 Feb 2005, Mallikarjun wrote:

> Hello Dazhong Yin,
>
>  I have tried cmap.gs function which is stored in ~/grads/lib/ default
> while installing GrADS. Try using 'run cmap.gs' in grads command line
> it will ask you number of colors you want to define. Input the number,
> then it will show you a graphical user interface, there you can adjust
> R G B graphical bars according to your requirement.
>
> now select the color for #1 and adjust the R G B bars and see the color
> above and select the next #2 adjust the bars and go on doing for all the
> numbers that you want to define, then quit.
>
> All defined colors will be saved in cuurent directory with the name
> 'grads.gct'.  you can use these new colors for ploting Black and White
> color.
>
> I hope this works for you.
>
> Good luck,
>
> Mallikarjun
>
> On Sun, 20 Feb 2005, Dazhong Yin wrote:
>
> > Hi folks,
> >
> > I would like to generate a color bar using cbar.gs for shaded plots that if
> > I print these plots in black and white, the color bar would gradually
> > increase darkness from bars for small values to bars for big values, or vise
> > versa. I am no artist and do not know how to mix rgb to get this effect. Has
> > anybody tried this?
> >
> > Thanks for help!
> >
> > Dazhong
> >
>
> --
> Mallikarjuna.K
> J.R.F
> Centre for Atmospheric and Oceanic Sciences
> Indian Institute of Science
> Bangalore - 560 012
>

--
Prince K XAVIER
Centre for Atmospheric and Oceanic Sciences
Indian Institute of Science
Bangalore - 560 012
INDIA
http://caos.iisc.ernet.in/hpg/students/prince.html
__________________________________________________
Phone No.
+91-80-2293 2505(Office)
+91 98808 19172 (Mobile)
-------------- next part --------------
*        PalGrey: greyscale color palette
'set rgb    16    3    3    3'
'set rgb    17    6    6    6'
'set rgb    18    9    9    9'
'set rgb    19   12   12   12'
'set rgb    20   15   15   15'
'set rgb    21   18   18   18'
'set rgb    22   21   21   21'
'set rgb    23   24   24   24'
'set rgb    24   27   27   27'
'set rgb    25   30   30   30'
'set rgb    26   33   33   33'
'set rgb    27   36   36   36'
'set rgb    28   39   39   39'
'set rgb    29   42   42   42'
'set rgb    30   45   45   45'
'set rgb    31   48   48   48'
'set rgb    32   51   51   51'
'set rgb    33   54   54   54'
'set rgb    34   57   57   57'
'set rgb    35   60   60   60'
'set rgb    36   63   63   63'
'set rgb    37   66   66   66'
'set rgb    38   69   69   69'
'set rgb    39   72   72   72'
'set rgb    40   75   75   75'
'set rgb    41   78   78   78'
'set rgb    42   81   81   81'
'set rgb    43   84   84   84'
'set rgb    44   87   87   87'
'set rgb    45   90   90   90'
'set rgb    46   93   93   93'
'set rgb    47   96   96   96'
'set rgb    48   99   99   99'
'set rgb    49  102  102  102'
'set rgb    50  105  105  105'
'set rgb    51  108  108  108'
'set rgb    52  111  111  111'
'set rgb    53  114  114  114'
'set rgb    54  117  117  117'
'set rgb    55  120  120  120'
'set rgb    56  123  123  123'
'set rgb    57  126  126  126'
'set rgb    58  129  129  129'
'set rgb    59  132  132  132'
'set rgb    60  135  135  135'
'set rgb    61  138  138  138'
'set rgb    62  141  141  141'
'set rgb    63  144  144  144'
'set rgb    64  147  147  147'
'set rgb    65  150  150  150'
'set rgb    66  153  153  153'
'set rgb    67  156  156  156'
'set rgb    68  159  159  159'
'set rgb    69  162  162  162'
'set rgb    70  165  165  165'
'set rgb    71  168  168  168'
'set rgb    72  171  171  171'
'set rgb    73  174  174  174'
'set rgb    74  177  177  177'
'set rgb    75  180  180  180'
'set rgb    76  183  183  183'
'set rgb    77  186  186  186'
'set rgb    78  189  189  189'
'set rgb    79  192  192  192'
'set rgb    80  195  195  195'
'set rgb    81  198  198  198'
'set rgb    82  201  201  201'
'set rgb    83  204  204  204'
'set rgb    84  207  207  207'
'set rgb    85  210  210  210'
'set rgb    86  213  213  213'
'set rgb    87  216  216  216'
'set rgb    88  219  219  219'
'set rgb    89  222  222  222'
'set rgb    90  225  225  225'
'set rgb    91  228  228  228'
'set rgb    92  231  231  231'
'set rgb    93  234  234  234'
'set rgb    94  237  237  237'
'set rgb    95  240  240  240'
'set rgb    96  243  243  243'
'set rgb    97  246  246  246'
'set rgb    98  249  249  249'
'set rgb    99  252  252  252'


More information about the gradsusr mailing list