<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dear Martin;</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
Thank you so much for your wonderful help. It was such a good suggestion!</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
Cheers,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Mohsen</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> </div></div><div class="gmail_extra"><br clear="all">
<div><div dir="ltr"><span><span style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";color:#888888"></span></span><span><span dir="RTL" style="font-size:11.0pt;line-height:115%;font-family:"Arial","sans-serif";color:#888888" lang="AR-SA"><span></span></span></span>--<div>
some are weather-wise some are otherwise!</div><div>--<br>Best Wishes, <br>(Mr.) Mohsen Soltani<br>Climatology Grad Student (M.Sc.),<br>Faculty of Geography, University of Tehran, Tehran, Iran<br>
Tel: (+98) 9119772934<br>e-mail: <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br></div></div></div>
<br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 5:57 AM, Martin V. Mathew <span dir="ltr"><<a href="mailto:vmartinmathew@gmail.com" target="_blank">vmartinmathew@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hi<br><br></div>You may also use the attached grads script named '<a href="http://colormap_lib.gs" target="_blank">colormap_lib.gs</a>' to set color maps other than default rainbow color map. This function have 20 color maps, each of those color map contain 22 shades. The numbers (which is required for command 'set ccols') corresponding to each shade can be viewed from the attached figure 'colormap.eps'.<br>
<br></div>You can run this function from grads script or executable files. Here I am giving an example for setting gray colormap.<br><br>* 'Usage: <a href="http://colormap_lib.gs" target="_blank">colormap_lib.gs</a> 'No. representng required colormap' '<optional list flag>'<br>
* where arguments No. representng required colormap can have values 0 to 20'<br>* <optional list flag> -----> setting 1 will list all available colormaps in the function'<br>
run <a href="http://colormap_lib.gs" target="_blank">colormap_lib.gs</a> 2<br>set gxout shaded<br>set clevs 18 19 19.5 20 20.5 21 21.5 22 22.5 23 23.5 24 25 26 27 28 29 30 31 <br>set ccols 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36<br>
d sst<br><br></div>Regards<br><br></div>Martin<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On 17 April 2013 17:47, Mohsen Soltani <span dir="ltr"><<a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dear Davide;</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Thank very much for your nice suggestions. I really appreciate it.</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Cordially,</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Mohsen</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div></div><div class="gmail_extra"><div><br clear="all"><div><div dir="ltr"><span><span style="font-size:11pt;line-height:115%;font-family:"Calibri","sans-serif";color:rgb(136,136,136)"></span></span><span><span dir="RTL" style="font-size:11pt;line-height:115%;font-family:"Arial","sans-serif";color:rgb(136,136,136)" lang="AR-SA"><span></span></span></span>--<div>
some are weather-wise some are otherwise!</div><div>--<br>Best Wishes, <br>(Mr.) Mohsen Soltani<br>Climatology Grad Student (M.Sc.),<br>Faculty of Geography, University of Tehran, Tehran, Iran<br>
Tel: (+98) 9119772934<br>e-mail: <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br></div></div></div>
<br><br></div><div><div><div class="gmail_quote">On Wed, Apr 17, 2013 at 12:59 AM, Davide Sacchetti <span dir="ltr"><<a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">for X11 display:<br>
set display gray white<br>
clear<br>
<br>
for the palette:<br>
set ccolor rainbow<br>
or:<br>
set ccolor revrain (old command: it doesn't seem to have any<br>
affect on grads2)<br>
<br>
for eps output:<br>
gxeps -b ...<br>
<br>
<br>
if you want to produce a custum palette you can, e.g.:<br>
set rgb 20 ...<br>
set rgb 21 ...<br>
...<br>
set rgb 30 ...<br>
set rbcols 20 21 ... 30<br>
or:<br>
set ccols 20 21 ... 30<br>
set clevs ...<br>
<br>
bye bye<br>
Davide<br>
<div><div><br>
On Tue, 2013-04-16 at 22:32 -0700, Mohsen Soltani wrote:<br>
> Dear Friends;<br>
><br>
> I wanna make a grey output. How can I change the colorbar's spectrum<br>
> from color into grey? I mean I’ve like to have a heavy dark black to<br>
> light grey and finally white colorbar's spectrum.<br>
><br>
><br>
><br>
> I used this to make a grey chart, ….. '!gxeps -b -i filename -o E:/<br>
> filename.eps' . Using "-b " instead of –C, produces a black and white<br>
> map. But I’m afraid the output doesn’t look like very good! Therefore,<br>
> I wanna change it from color into a range of black and white colors<br>
> through defining new colorbar's spectrum.<br>
><br>
><br>
><br>
> How can I do that? Any suggestion?<br>
><br>
><br>
><br>
> Yours,<br>
><br>
> Mohsen<br>
><br>
><br>
> --<br>
> some are weather-wise some are otherwise!<br>
> --<br>
> Best Wishes,<br>
> (Mr.) Mohsen Soltani<br>
> Climatology Grad Student (M.Sc.),<br>
> Faculty of Geography, University of Tehran, Tehran, Iran<br>
> Tel: (+98) 9119772934<br>
> e-mail: <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br>
><br>
</div></div>> _______________________________________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
--<br>
--> Attenzione cambio indirizzo: <a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a><br>
--<br>
Davide Sacchetti<br>
Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria<br>
ARPAL Unità Tecnica Complessa di livello Regionale<br>
V.le Brigare Partigiane 2 16121 Genova (I)<br>
tel: +39 010 6437535 fax: +39 010 6437520<br>
mail: <a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a> web: <a href="http://www.meteoliguria.it" target="_blank">www.meteoliguria.it</a><br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br></div></div><span class="HOEnZb"><font color="#888888">Martin V. Mathew<br>Research scholar<br>Centre for Oceans, Rivers, Atmosphere and Land Sciences (CORAL)<br>IIT Kharagpur<br>
India.<br>
</font></span></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>