[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20030807: 20030804: Gdcross/wind type/refvec query



John,

The answer to your question about calculating X tics is the routine
gdxplt.f in $GEMPAK/source/programs/gd/gdcross/ which calls the GPLT
routine GDAXIS.

Steve Chiswell


>From: John Merrill <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200308071337.h77DbHLd007506

>Thanks, Steve:
>
>>So, apparently that is absolute location, and not relative to the panel.
>>So you will want REFVEC=5;.55;.05 instead of REFVEC=5.
>>
>>Go figure!
>>  
>>
>Well, it had to be one way or the other, and I should have realized that 
>the use of "display" signaled a distinction
>from the panel. After a little tweaking the Reference Vector is now 
>visible in a suitable spot.
>
>>. . . .
>>
>>The documentation of the WIND syntax in phelp shows "D" for directional arrow
> s,
>>which was added for GDPLOT2, but the gdcross code does not support
>>this feature. I made some quick tests on the $GEMPAK.source/programs/gd/gdcro
> ss/gdxpuw.f
>>routine and can add that feature in 5.6.k.
>>  
>>
>An addition like ths could be helpful. I've become comfortable with the 
>A option, at least for now. I bumped the yxais limit up from
>1000 hPa to 1010 hPa, resulting in the 1000 hPa wind vectors being 
>plotted above instead of on the x axis of the cross section. This
>makes fewer of them cross busily into the thicket of ticks below the x 
>axis. Experience tells me that if I increased the limit to 1050,
>say, the contours and filled areas would begin well above the axis; 
>presumably the boxes used in the contouring algorithm are just
>large enough to cover area between 1010 hPa and 1000. I'm now pretty 
>happy with this figure format.
>
>Now, an additional question on coding. In what routine are the tick 
>locations determined, and drawn, for the x axis in gdcross?
>I'd like to take advantage of the simple situation I'm plotting, and 
>could give this as a task to Ruth Platner.
>
>Again, much thanks.        John
>
>
>