<div dir="ltr"><div><b><a href="https://www.ncl.ucar.edu/Applications/rose.shtml">https://www.ncl.ucar.edu/Applications/rose.shtml</a><br></b></div><div><b><br></b></div><div>I have looked at the function code.</div><div><br></div><div>%> less $NCARG_ROOT/lib/ncarg/nclscripts/csm/wind_rose.ncl</div><div><br></div><div>===</div><div>lines:</div><div><br></div><div> dirFrMaxNumCircles = toint(dirFrMax/circFr +1.)<br> dirFrMaxNum = circFr*dirFrMaxNumCircles ; number of circles<br></div><div>===</div><div><br></div><div>The following is untested ....<br></div><div><br></div><div>Perhaps making a copy of 'wind_rose.ncl' a</div><div><br></div><div>%> cp $NCARG_ROOT/lib/ncarg/nclscripts/csm/wind_rose.ncl wind_rose.liu_chang.ncl</div><div><br></div><div>Then, make a modification to wind_rose.liu_chang.ncl such as <br></div><div><br></div><div><div> dirFrMaxNumCircles = toint(dirFrMax/circFr +1.)<br>; dirFrMaxNum = circFr*dirFrMaxNumCircles ; number of circles < Comment<br></div><div> dirFrMaxNum = 3</div><div><br></div><div><br></div><div>then use the new code via<br></div><div><br></div><div>load "./wind_rose.liu_chang.ncl"</div><div><br></div><div>Again ... this is untested.</div><div><br></div><div>Good luck<br></div><div> <br></div><div><br></div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 16, 2024 at 2:56 AM LIU Chang via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg2584619776754372661">
<div dir="ltr">
<div style="font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
Dear all,</div>
<div style="font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="text-align:left;text-indent:0px;white-space:pre-wrap;margin:0px 0px 16px;font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
I am encountering an issue when using a similar script to <a href="https://www.ncl.ucar.edu/Applications/Scripts/rose_5.ncl" id="m_2584619776754372661OWA3e9bd0f5-9523-623f-3ff1-a5450f7fc8c9" style="margin:0px;text-align:left" target="_blank">
https://www.ncl.ucar.edu/Applications/Scripts/rose_5.ncl</a> to plot a wind rose. The circles in the plot seem to appear randomly, with two or three circles being generated.</div>
<div style="text-align:left;text-indent:0px;white-space:pre-wrap;margin:0px 0px 16px;font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
<img size="35136" style="max-width: 1749px;" src="cid:ii_1915c1b06adcb971f161"></div>
<div style="font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="text-align:left;text-indent:0px;white-space:pre-wrap;margin:0px 0px 16px;font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
Could you please advise if there are any functions or settings that can ensure the number of circles, either two or three?</div>
<div style="text-align:left;text-indent:0px;white-space:pre-wrap;margin:0px 0px 16px;font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
Thank you for your assistance.</div>
<div style="margin:0px;font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
Best regards,</div>
<div style="margin:0px;font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
Chang</div>
<div style="margin:0px;font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
<br>
<br>
</div>
<div style="font-family:mru_Calibri;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</div></blockquote></div>