Hi Eric Altshuler,<br><br>Thank you very much. some kind hearted people told me use this command:<br>###<br>set clevs v1,v2,v3 ...<br>set ccols<br>###<br>yours seems so terse, I'll have a try.<br><br>Thank you.<br><br>
With regards.<br><br><div class="gmail_quote">2009/6/4 Eric Altshuler <span dir="ltr"><<a href="mailto:ela@cola.iges.org">ela@cola.iges.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Shenghui,<br>
<br>
You don't need to change <a href="http://cbar.gs" target="_blank">cbar.gs</a>. There are a few different ways to make the plots have the same contour interval and range, here is one way that should work.<br>
<br>
Before your 'display' command, do the following:<br>
<br>
'set cmin 286'<br>
'set cmax 306'<br>
'set cint 2'<br>
<br>
You need to do this for both plots, because displaying anything (or issuing a 'clear' command) will reset cmin, cmax and cint to default values.<br>
<br>
Best regards,<br>
<br>
Eric L. Altshuler<br>
Assistant Research Scientist<br>
Center for Ocean-Land-Atmosphere Studies<br>
4041 Powder Mill Road, Suite 302<br>
Calverton, MD 20705-3106<br>
USA<br>
<br>
E-mail: <a href="mailto:ela@cola.iges.org">ela@cola.iges.org</a><br>
Phone: (301) 902-1257<br>
Fax: (301) 595-9793<br>
<div class="im"><br>
----- Original Message -----<br>
From: "sh zhou" <<a href="mailto:sh.maeam@GMAIL.COM">sh.maeam@GMAIL.COM</a>><br>
To: <a href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a><br>
Sent: Wednesday, June 3, 2009 4:07:35 AM GMT -05:00 US/Canada Eastern<br>
Subject: how to midify cbar<br>
<br>
Dear All,<br>
<br>
In attachment there are two shaded contour plots, I want to compare them,<br>
but the color bar, at the bottom of each plot, not the same. In a plot the<br>
color bar's mark range from "288" to "306", the another one is range from<br>
"286"to "296", I tried to modify "<a href="http://cbar.gs" target="_blank">cbar.gs</a>", but it is too difficult to me,<br>
can you tell me how to set the range to be the same?<br>
<br>
</div> Thank you.<br>
<br>
Sincerely.<br>
<font color="#888888">--<br>
</font><div><div></div><div class="h5"><br>
Shenghui Student<br>
Major: Physics<br>
HuNan University China<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>Shenghui Student<br>Major: Physics<br>HuNan University China<br>