<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt">Hi Mul<br><br>I guess you want to display the magnitude of the wind shaded in grey. Right?<br>I just see that Hersala replied to your question but may be you don't understand.<br>This is how to build your own greyscale colorbar <br><br>****first you set the rgb color<br>set rgb 20 255 255 255 (this is white)<br>set rgb 21 200 200 200 (it's getting darker and darker from now on)<br>set rgb 22 170 170 170<br>.<br>.<br>.<br>.<br>set rgb 28 0 0 0 (this is black)<br><br>***set the values of the wind magnitude<br>set clevs 1 2 4 6 8 10 20 <br><br>***set the greyscale<br>set ccols 20 21 22 23 .....28 (this is the grey colors that you defined above using rgb)<br><br>*** display<br>d t<br><div><br>***you can start saving from here using your usual stuff<br><br><br>Hope this will
help<br>Best Regards !<br><br> </div>***************************************************<br>Mouhamadou Bamba SYLLA<br>Post-Doc Position, PWC/ESP<br>International Centre for Theoretical Physics<br>Strada Costiera 11, 34100 Trieste, Italy<br>Office tel: 0039 040 2240 225<br>Cell: 0039 34 71 94 06 55<br>emails: msylla@ictp.it, syllabamba@yahoo.fr <br>***************************************************<div><br></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> mul yadi <mul98_psy@yahoo.com><br><b><span style="font-weight: bold;">À :</span></b> gradsusr@gradsusr.org<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Jeu 18 mars 2010, 11 h 43 min 37 s<br><b><span style="font-weight: bold;">Objet :</span></b>
[gradsusr] Greyscale Hardcopy Image Output<br></font><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Dear All,<br><br>I ran this script:<br><br>---------------------------------------------------<br>'reinit'<br>'sdfopen uwnd.10m.gauss.2006.nc'<br>'sdfopen vwnd.10m.gauss.2006.nc'<br><br>'set lat -20 30'<br>'set lon 40 103'<br><br> 'set gxout shaded'<br>'d mag(uwnd,vwnd.2)'<br><br>'enable print 10m_stream.gmf'<br>'print'<br>'disable print'<br><br>* External gxeps plotting<br>***'!gxeps -c -i 10m_stream.gmf -o sr_10m_stream.ps'<br><span style="color: rgb(255, 0, 0); font-weight: bold;">'!gxeps -i 10m_stream.gmf -o sr_10m_stream.ps'</span><br>---------------------------------------------------------------<br><br>Problem:<br>----------<br>The last line:<br>I would like to have <span style="font-weight: bold;">grey scale</span> output file (sr_10m_stream.ps)<br>because I did not use the option -c on the
command gxeps.<br><br>But what I got is <span style="font-weight: bold;">colour</span> output file (sr_10m_stream.ps).<br>What should I do, any one can help me ?<br><br>Note:<br>------<br>When I used GXPS instead of GXEPS, I could solve this problem,<br>but the File Size is being much bigger.<br><br><br><br></div><br>
</div></div>
</div><br>
</body></html>