<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi there,<br>
<br>
I am trying to plot hodograph using hodograph.ncl and hodo_cartesian.ncl with modified cartesian scale for wind magnitude. The default one is 0 10 20 while i need something like 0 4 8 12 16 20 & 24. I've been successful in making some changes like increased
number of circles from 3 to 6 and plotted wind mag on circles but unable to change cartesian scale. It is still showing the same 0 10 20. Please see the attached figure.
<br>
<br>
I would appreciate if Dennis Shea or our other NCL experts could advise as where to make changes in hodo_cartesian.ncl or hodograph.ncl script to get what i want.<br>
<br>
The main scrip is copied below:<br>
<br>
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>
load "/data/ncl_work/spl_plots/02_hodograph/hodograph.ncl"<br>
load "./hodo_cartesian.ncl"<br>
begin<br>
<br>
ws = (/1.,2., 3., 5., 9., 13., 14., 14.,17.,17.,17.,18.,19.,20.,21.,24./)<br>
wd = (/180.,185.,190.,200., 230., 245.,260., 265.,270.,290., 300.,305.,330.,340.,350.,360./)<br>
<br>
res = True<br>
res@tiMainString = "HODO_GRAPH: CARTESIAN"<br>
res@gsnDraw = False<br>
res@gsnFrame = False<br>
;res@hodo_labelCircle = True<br>
<br>
wks = gsn_open_wks ("png","hodogaph")<br>
<br>
hodoPlt = hodograph(wks, ws,wd, res)<br>
hcart = True<br>
hcart@hodo_axisColor = 28<br>
<br>
caxis = cartesian_axis(wks,hodoPlt,hcart)<br>
<br>
draw(hodoPlt)<br>
frame(wks)<br>
<br>
end<br>
<br>
<br>
<br>
Thanks and best regards,<br>
<br>
Basit<br>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This message and its contents including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system.
Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.<br>
</font>
</body>
</html>