<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Stuart,<br>
<br>
try with this (Color number 0 is used only in one level)<br>
<br>
<pre wrap="">'color -gxout shaded 0.5 50 0.5 -kind 0-(0)->white->slateblue->green->limegreen->yellow->gold->orange->red->darkred->maroon->pink'
Regards,
Marian
</pre>
Dňa 21. 9. 2015 o 22:59 Chorley Weather napísal(a):<br>
<blockquote
cite="mid:957b29e43b81e5b92948e2342e2e5474@chorleyweather.com"
type="cite">
<pre wrap="">Hi,
Is it possible to overlay these two images. I had success using the old
clevs and ccols for both cloud and precip but when i upgraded the precip
chart using colour.gs the overlay doesn't work, only the precip shows.
Script below:
*'define dew = const((dewpt(tmp2m,rh2m)-273.16),0,-u)'
'set gxout shaded'
'set csmooth on'
'set clevs 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100'
'set ccols 0 63 62 61 60 59 58 57 56 55 54 53 52 51 50 47 46 45 44 43 42
41 17 39 38 37 36 35 34 33'
'd tcdcclm'
'printim gfs_uknocloudcover'i'.png x1100 y675'
'color -gxout shaded 0.5 50 0.5 -kind
white->slateblue->green->limegreen->yellow->gold->orange->red->darkred->maroon->pink
'
'd apcpsfc'
'printim gfs_UKcprec'i'.png x1100 y675 -b gfs_uknocloudcover'i'.png -t
0';#overlay/save 2nd variable on previous image, black as transparent
i = i+1
endwhile
Regards,
Stuart.
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.09070209.06080406@pocasie-bytca.sk" border="0"></div>
</body>
</html>