<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks Muhammad,<br>
this actually works if I display wind;vw<br>
But again, if I use "wind" in a define expression, it doesn't go
well.<br>
<br>
define arrows = wind;vw<br>
<br>
<div>Syntax error: expected operator or ')'</div>
<div>Error occurred at column 23<br>
</div>
<br>
Now, I would really need to define this quantity because I'm going
to use it later. Is there a way to do that?<br>
<br>
Thanks for your help.<br>
Stefano<br>
<br>
<br>
On 2/29/12 1:37 PM, afzaalkarori wrote:
<blockquote cite="mid:201202292037448750919@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
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">
<!-- 52_302903_e11415f126781bf -->
<table style="FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif"
id="Table_01" border="0" cellpadding="0" cellspacing="0"
width="99.99%">
<tbody>
<tr>
<td
background="imap://stefano%2Emateria%40cmcc%2Eit@mail.cmcc.it:993/fetch%3EUID%3E.GrADSusr%3E5092?header=quotebody&part=1.1.4&filename=tl.jpg"
valign="top"><img
src="cid:part1.09010700.06020307@cmcc.it" height="1"
width="138"></td>
<td
background="imap://stefano%2Emateria%40cmcc%2Eit@mail.cmcc.it:993/fetch%3EUID%3E.GrADSusr%3E5092?header=quotebody&part=1.1.5&filename=bg.jpg"
valign="top"> </td>
<td
background="imap://stefano%2Emateria%40cmcc%2Eit@mail.cmcc.it:993/fetch%3EUID%3E.GrADSusr%3E5092?header=quotebody&part=1.1.6&filename=m_bg.jpg"
valign="top"><img
src="cid:part2.07060409.08060107@cmcc.it" height="60"
width="80"></td>
</tr>
<tr>
<td
background="imap://stefano%2Emateria%40cmcc%2Eit@mail.cmcc.it:993/fetch%3EUID%3E.GrADSusr%3E5092?header=quotebody&part=1.1.7&filename=m_tl.jpg"
valign="top"> </td>
<td style="PADDING-BOTTOM: 70px; PADDING-LEFT: 30px;
PADDING-RIGHT: 0px; HEIGHT: 300px; PADDING-TOP: 0px"
background="imap://stefano%2Emateria%40cmcc%2Eit@mail.cmcc.it:993/fetch%3EUID%3E.GrADSusr%3E5092?header=quotebody&part=1.1.5&filename=bg.jpg"
valign="top" 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"
face="Verdana" size="2">
<div><font color="#000000">Dear Stefano</font></div>
<div> </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 face="Franklin Gothic Book"
size="4">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>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>define wind=skip(uw,8,8);vw</div>
<div>(where uw and vw are the two horizontal components), I get the following </div>
<div>error:</div>
<div>Syntax error: expected operator or ')'</div>
<div>Error occurred at column 23</div>
<div>Grads displays wind arrows in a proper way, instead, when I plot the </div>
<div>expression directly:</div>
<div>d skip(uw,8,8);vw</div>
<div>Bets regards,</div>
<div>Stefano Materia</div>
<div>_______________________________________________</div>
<div>gradsusr mailing list</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a></div>
<div><a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a></div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</td>
<td
background="imap://stefano%2Emateria%40cmcc%2Eit@mail.cmcc.it:993/fetch%3EUID%3E.GrADSusr%3E5092?header=quotebody&part=1.1.6&filename=m_bg.jpg"
valign="top" width="47"> </td>
</tr>
</tbody>
</table>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</body>
</html>