<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Matt,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Instead of using index 4 in the marker table, you can create your own marker using any one of our font tables. Some of these were drawn with higher resolution.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">For example, click over to our font tables page:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Document/Graphics/font_tables.shtml">http://www.ncl.ucar.edu/Document/Graphics/font_tables.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">and click on font table 37:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Document/Graphics/Images/font37.png">http://www.ncl.ucar.edu/Document/Graphics/Images/font37.png</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">Letter R is a hollow circle that might work for you.</div><div class="gmail_default"><br></div><div class="gmail_default">To use it, call:</div><div class="gmail_default">







<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space">  </span>icirc<span class="gmail-Apple-converted-space">  </span>= </span><span class="gmail-s2">NhlNewMarker</span><span class="gmail-s1">(wks,</span><span class="gmail-s3">&quot;R&quot;</span><span class="gmail-s1">,37,0.,0.,1.,1.,0.)</span></p><p class="gmail-p1"><span class="gmail-s1">and then use that as your marker index:</span></p><p class="gmail-p1"><span class="gmail-s1">  gsres@gsMarkerIndex = icirc</span></p></div><div class="gmail_default" style="font-size:small">See the attached script, which displays the two types of circles side-by-side.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Font table 19 also has some hollow circles you can try.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 31, 2017 at 9:56 AM, Matt Flournoy <span dir="ltr">&lt;<a href="mailto:mflournoy37@gmail.com" target="_blank">mflournoy37@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I&#39;m having a minor problem plotting a circular polymarker. I&#39;m using index=4 for the marker index, which should be a hollow circle, but when I plot it larger than ~ 0.03 the shape starts to deteriorate into a 16-sided polygon. Is there a way to ensure that the circular marker retains its shape when it is plotted larger than normal? I&#39;ve attached a .png of the figure I&#39;m trying to create, and here is the snippet of code that deals with the portion of the plot that I&#39;m having problems with:</div><div><br></div><div>*******************</div><div><br></div><div><div>  ;-------</div><div>  ; Create the index for the hollow, circle marker.</div><div>  ;-------</div><div><br></div><div>;  mstring <span style="white-space:pre-wrap">        </span>= &quot;x&quot;<span style="white-space:pre-wrap">                        </span>; &lt;-- default for hollow circle</div><div>;  fontnum<span style="white-space:pre-wrap">        </span>= 19</div><div>;  xoffset<span style="white-space:pre-wrap">        </span>= 0.0</div><div>;  yoffset<span style="white-space:pre-wrap">        </span>= 0.075</div><div>;  ratio<span style="white-space:pre-wrap">                </span>= 1.3125</div><div>;  size<span style="white-space:pre-wrap">                </span>= 1.2</div><div>;  angle <span style="white-space:pre-wrap">        </span>= 0.0</div><div>;</div><div>;  new_index = NhlNewMarker(xwks, mstring, fontnum, xoffset, yoffset, ratio, size, angle)</div><div><br></div><div>  cn1_x = 0.84</div><div>  cn1_y = 0.20</div><div><br></div><div>  text_cn1 = &quot;0.01&quot;</div><div><br></div><div>  cn_res1 <span style="white-space:pre-wrap">                        </span>= True</div><div>  cn_res1@gsMarkerColor<span style="white-space:pre-wrap">        </span> <span style="white-space:pre-wrap">        </span>= cn_color</div><div>  cn_res1@gsLineColor<span style="white-space:pre-wrap">        </span> <span style="white-space:pre-wrap">        </span>= cn_color</div><div>  cn_res1@gsMarkerIndex <span style="white-space:pre-wrap">        </span>= 4<span style="white-space:pre-wrap">                                                </span>; &lt;-- open circle</div><div>  cn_res1@gsMarkerSizeF <span style="white-space:pre-wrap">        </span>= 0.10</div><div>  cn_res1@gsLineThicknessF <span style="white-space:pre-wrap">        </span>= 3</div><div>  cn_res1@gsMarkerThicknessF <span style="white-space:pre-wrap">        </span>= 3</div><div>  cn_res1@gsFontQuality<span style="white-space:pre-wrap">                </span>= &quot;High&quot;</div><div><br></div><div>  cn_res1_text <span style="white-space:pre-wrap">                                </span>= True</div><div>  cn_res1_text@txFontHeightF <span style="white-space:pre-wrap">                </span>= 0.008</div><div>  cn_res1_text@txFontColor   <span style="white-space:pre-wrap">                </span>= cn_color</div><div>  cn_res1_text@<wbr>txBackgroundFillColor<span style="white-space:pre-wrap">        </span>= &quot;white&quot;</div><div><br></div><div>  gsn_polymarker_ndc(xwks,cn1_x,<wbr>cn1_y,cn_res1)</div><div>  gsn_text_ndc      (xwks,text_cn1,cn1_x + (cn_res1@gsMarkerSizeF/2),cn1_<wbr>y,cn_res1_text)</div><div><br></div><div>  ;-------</div><div><br></div><div>  offset = 0.03</div><div><br></div><div>  cn2_x = cn1_x - offset + 0.02</div><div>  cn2_y = cn1_y</div><div><br></div><div>  text_cn2 = &quot;0.02&quot;</div><div><br></div><div>  cn_res2 <span style="white-space:pre-wrap">                        </span>= True</div><div>  cn_res2@gsMarkerColor<span style="white-space:pre-wrap">        </span> <span style="white-space:pre-wrap">        </span>= cn_color</div><div>  cn_res2@gsLineColor<span style="white-space:pre-wrap">        </span> <span style="white-space:pre-wrap">        </span>= cn_color</div><div>  cn_res2@gsMarkerIndex <span style="white-space:pre-wrap">        </span>= 4<span style="white-space:pre-wrap">                                                </span>; &lt;-- open circle</div><div>  cn_res2@gsMarkerSizeF <span style="white-space:pre-wrap">        </span>= cn_res1@gsMarkerSizeF - offset</div><div>  cn_res2@gsLineThicknessF <span style="white-space:pre-wrap">        </span>= 3</div><div>  cn_res2@gsMarkerThicknessF <span style="white-space:pre-wrap">        </span>= 3</div><div>  cn_res2@gsFontQuality<span style="white-space:pre-wrap">                </span>= &quot;High&quot;</div><div><br></div><div>  cn_res2_text <span style="white-space:pre-wrap">                                </span>= True</div><div>  cn_res2_text@txFontHeightF <span style="white-space:pre-wrap">                </span>= cn_res1_text@txFontHeightF</div><div>  cn_res2_text@txFontColor   <span style="white-space:pre-wrap">                </span>= cn_color</div><div>  cn_res2_text@<wbr>txBackgroundFillColor<span style="white-space:pre-wrap">        </span>= &quot;white&quot;</div><div><br></div><div>  gsn_polymarker_ndc(xwks,cn2_x,<wbr>cn2_y,cn_res2)</div><div>  gsn_text_ndc      (xwks,text_cn2,cn2_x + (cn_res2@gsMarkerSizeF/2),cn2_<wbr>y,cn_res2_text)</div><div><br></div><div>  ;-------</div><div><br></div><div>  cn3_x = cn2_x - offset + 0.02</div><div>  cn3_y = cn2_y</div><div><br></div><div>  text_cn3 = &quot;0.03&quot;</div><div><br></div><div>  cn_res3 <span style="white-space:pre-wrap">                        </span>= True</div><div>  cn_res3@gsMarkerColor<span style="white-space:pre-wrap">        </span> <span style="white-space:pre-wrap">        </span>= cn_color</div><div>  cn_res3@gsLineColor<span style="white-space:pre-wrap">        </span> <span style="white-space:pre-wrap">        </span>= cn_color</div><div>  cn_res3@gsMarkerIndex <span style="white-space:pre-wrap">        </span>= 4<span style="white-space:pre-wrap">                                                </span>; &lt;-- open circle</div><div>  cn_res3@gsMarkerSizeF <span style="white-space:pre-wrap">        </span>= cn_res2@gsMarkerSizeF - offset</div><div>  cn_res3@gsLineThicknessF <span style="white-space:pre-wrap">        </span>= 3</div><div>  cn_res3@gsMarkerThicknessF <span style="white-space:pre-wrap">        </span>= 3</div><div>  cn_res3@gsFontQuality<span style="white-space:pre-wrap">                </span>= &quot;High&quot;</div><div><br></div><div>  cn_res3_text <span style="white-space:pre-wrap">                                </span>= True</div><div>  cn_res3_text@txFontHeightF <span style="white-space:pre-wrap">                </span>= cn_res1_text@txFontHeightF</div><div>  cn_res3_text@txFontColor   <span style="white-space:pre-wrap">                </span>= cn_color</div><div>  cn_res3_text@<wbr>txBackgroundFillColor<span style="white-space:pre-wrap">        </span>= &quot;white&quot;</div><div><br></div><div>  gsn_polymarker_ndc(xwks,cn3_x,<wbr>cn3_y,cn_res3)</div><div>  gsn_text_ndc      (xwks,text_cn3,cn3_x + (cn_res3@gsMarkerSizeF/2),cn3_<wbr>y,cn_res3_text)</div><div><br></div><div>  ;------- and lastly, the units text inside the circles...</div><div><br></div><div>  cn4_x = 0.815</div><div>  cn4_y = cn3_y</div><div><br></div><div>  text_cn4 = &quot;s~S~-1~N~&quot;</div><div><br></div><div>  cn_res4_text <span style="white-space:pre-wrap">                                </span>= True</div><div>  cn_res4_text@txFontHeightF <span style="white-space:pre-wrap">                </span>= cn_res1_text@txFontHeightF</div><div>  cn_res4_text@txFontColor   <span style="white-space:pre-wrap">                </span>= cn_color</div><div>  cn_res4_text@<wbr>txBackgroundFillColor<span style="white-space:pre-wrap">        </span>= -1<span style="white-space:pre-wrap">                                        </span>; &lt;-- transparent</div><div><br></div><div>  gsn_text_ndc      (xwks,text_cn4,cn4_x,cn4_y,<wbr>cn_res4_text)</div><div><br></div><div>*******************<br></div><div><br></div><div>Please let me know if I can provide any more info to help with this.</div><div><br></div><div>Thanks,</div><div>Matt</div><div><br></div><div><img src="cid:ii_15d995c0349e2d0d" alt="Inline image 2" width="544" height="544"><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-3335650069512314748gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Matthew Flournoy<div>M.S. Meteorology, University of Oklahoma</div><div>B.S. Meteorology, Penn State University</div></div></div></div></div></div></div></div></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>