<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
The cbar*.gs scripts use the output from ‘q shades’ to plot the color bars. You could capture this output, modify it to suit your needs, and then use the modified result in your copy of cbarn.gs. —Jennifer
<div><br>
<div><br>
<div>
<div>
<div>On Dec 10, 2015, at 12:05 PM, Sagar P Parajuli <<a href="mailto:psagar@utexas.edu">psagar@utexas.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:tahoma,sans-serif">I am using <a href="http://cbarn.gs/">
cbarn.gs</a> to generate colorbar for my plot. I have used const function to assign a custom value to the undef value and then assigned the custom value a new color using clevs/cocols. However, when I display the colorbar, the new color also appears in the
colorbar. I do not want the new color to be shown in the colorbar. How can we control this?</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks a lot. </div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<p><b><font face="tahoma, sans-serif"><span style="color:#e36c0a"></span></font></b></p>
<font face="tahoma, sans-serif">Sincerely,<br>
<br>
</font>
<p><b><span style="color:#e36c0a"><font face="tahoma, sans-serif"></font></span></b></p>
<p><b><span style="color:#e36c0a"><font face="tahoma, sans-serif">Sagar P. Parajuli</font></span></b></p>
<p><font face="tahoma, sans-serif"><b><span style="color:#e36c0a"></span></b><span style="color:#e36c0a">PhD Candidate<br>
</span></font></p>
<p><span style="color:#e36c0a"><font face="tahoma, sans-serif">The University of Texas at Austin<br>
Jackson School of Geosciences<br>
</font></span></p>
</div>
</div>
<div>
<div dir="ltr">
<p><font face="tahoma, sans-serif"><span style="color:rgb(227,108,10);font-size:12.8000001907349px">e-mail:
</span><a href="mailto:psagar@utexas.edu" style="font-size:12.8000001907349px" target="_blank">psagar@utexas.edu</a></font></p>
</div>
</div>
<div>
<div dir="ltr"><span style="color:#e36c0a"><font face="tahoma, sans-serif">Phone: +1 512 965 4093</font></span></div>
<div><span style="color:#e36c0a"><font face="tahoma, sans-serif"><br>
</font></span></div>
<div><span style="color:#e36c0a"><font face="tahoma, sans-serif">Blog: <a href="http://parajulisagar.wordpress.com/" target="_blank">
parajulisagar.wordpress.com</a></font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>