<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE type=text/css>BODY {
        PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.19190"></HEAD>
<BODY style="MARGIN-TOP: 0px; MARGIN-LEFT: 0px; MARGIN-RIGHT: 0px"><!-- 52_302903_e11415f126781bf -->
<TABLE style="FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif" id=Table_01
border=0 cellSpacing=0 cellPadding=0 width="99.99%">
<TBODY>
<TR>
<TD vAlign=top background=cid:__2@Foxmail.net><IMG
src="cid:__0@Foxmail.net" width=138 height=1></TD>
<TD vAlign=top background=cid:__3@Foxmail.net> </TD>
<TD vAlign=top background=cid:__4@Foxmail.net><IMG
src="cid:__1@Foxmail.net" width=80 height=60></TD></TR>
<TR>
<TD vAlign=top background=cid:__5@Foxmail.net> </TD>
<TD
style="PADDING-BOTTOM: 70px; PADDING-LEFT: 30px; PADDING-RIGHT: 0px; HEIGHT: 300px; PADDING-TOP: 0px"
vAlign=top background=cid:__3@Foxmail.net width="100%">
<TABLE
style="MARGIN-TOP: 0px; MARGIN-LEFT: 0px; cellpadding: 0px; cellspacing: 0px"
width="100%">
<TBODY>
<TR>
<TD style="LINE-HEIGHT: 160%" vAlign=top>
<DIV
style="WIDTH: 100%; WHITE-SPACE: normal; WORD-BREAK: break-all"><FONT
color=#265800 size=2 face=Verdana>
<DIV><FONT color=#000000>Dear Stefano</FONT></DIV>
<DIV><FONT color=#000000></FONT> </DIV>
<DIV><FONT color=#000000>Redefine u-component separately. something
like</FONT></DIV>
<DIV>-> wind = skip(uw,8,8) </DIV>
<DIV>then plot</DIV>
<DIV>-> d wind;vw</DIV>
<DIV>It should work</DIV>
<DIV>Good Luck!</DIV>
<DIV><FONT color=#c0c0c0>2012-02-29 </FONT></DIV>
<DIV align=left>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
</DIV>
<DIV><FONT color=#c0c0c0><SPAN>
<DIV>
<DIV><FONT size=2 face=Verdana></FONT><FONT size=4
face="Franklin Gothic Book">Muhammad Afzaal Karori</FONT></DIV>
<DIV><FONT face="Franklin Gothic Book">Institute of Atmospheric
Physics</FONT></DIV>
<DIV><FONT face="Franklin Gothic Book">Chinese Academy of
Sciences</FONT></DIV>
<DIV><FONT face="Franklin Gothic Book">Beijing - P.R.
China</FONT></DIV>
<DIV> </DIV></DIV></SPAN></FONT></DIV>
<HR>
<DIV><STRONG>发件人:</STRONG> Stefano Materia </DIV>
<DIV><STRONG>发送时间:</STRONG> 2012-02-29 20:15:52 </DIV>
<DIV><STRONG>收件人:</STRONG> gradsusr </DIV>
<DIV><STRONG>抄送:</STRONG> </DIV>
<DIV><STRONG>主题:</STRONG> [gradsusr] possible bug in define mode
</DIV></FONT>
<DIV> </DIV>
<DIV>
<DIV>Hi everyone,</DIV>
<DIV></DIV>
<DIV>I am using Grads 2.0.0.oga.1 and I am facing an odd issue.</DIV>
<DIV>When I try to define an expression for plotting wind vectors in this way:</DIV>
<DIV></DIV>
<DIV>define wind=skip(uw,8,8);vw</DIV>
<DIV></DIV>
<DIV>(where uw and vw are the two horizontal components), I get the following </DIV>
<DIV>error:</DIV>
<DIV></DIV>
<DIV>Syntax error: expected operator or ')'</DIV>
<DIV>Error occurred at column 23</DIV>
<DIV></DIV>
<DIV>Grads displays wind arrows in a proper way, instead, when I plot the </DIV>
<DIV>expression directly:</DIV>
<DIV></DIV>
<DIV>d skip(uw,8,8);vw</DIV>
<DIV></DIV>
<DIV>Bets regards,</DIV>
<DIV>Stefano Materia</DIV>
<DIV>_______________________________________________</DIV>
<DIV>gradsusr mailing list</DIV>
<DIV>gradsusr@gradsusr.org</DIV>
<DIV>http://gradsusr.org/mailman/listinfo/gradsusr</DIV></DIV></DIV></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top background=cid:__4@Foxmail.net
width=47> </TD></TR></TBODY></TABLE></BODY></HTML>