[gradsusr] vector plotting problem

Rowell, Mason D. Mason.D.Rowell-1 at ou.edu
Wed Dec 7 13:44:39 EST 2011


Jeff,

I have it in my script, so it can't be the problem. When I run the script without the negative signs, no problem. But not with them...

Mason
________________________________
From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] on behalf of Jeff Duda [jeffduda319 at gmail.com]
Sent: Wednesday, December 07, 2011 11:26 AM
To: GrADS Users Forum
Subject: Re: [gradsusr] vector plotting problem

how is re defined?

On Wed, Dec 7, 2011 at 10:06 AM, Rowell, Mason D. <Mason.D.Rowell-1 at ou.edu<mailto:Mason.D.Rowell-1 at ou.edu>> wrote:
All,

For whatever reason,

'define dx = 're'*cos(lat*(3.1419/180))*cdiff((lon*(3.14159/180)),x)'
 'define dy = 're'*cdiff((lat*(3.14159/180)),y)'
 'define dzx = cdiff(HGTprs,x)'
 'define dzy = cdiff(HGTprs,y)'
 'set ccolor 4'
 'd (dzx/(-1*dx));(dzy/(-1*dy))'

will not plot down height gradient vectors. I just get blue circles about every grid point. If I remove the negative signs, I get the traditional gradient vectors, but with them, I get the circles. I have tried putting the negatives in so many different places and same result.

Mason
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr



--
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111207/60b671da/attachment-0003.html 


More information about the gradsusr mailing list