<div dir="ltr">Hi all,<div><br></div><div>I'm having a minor problem plotting a circular polymarker. I'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've attached a .png of the figure I'm trying to create, and here is the snippet of code that deals with the portion of the plot that I'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">        </span>= "x"<span style="white-space:pre">                        </span>; <-- default for hollow circle</div><div>; fontnum<span style="white-space:pre">        </span>= 19</div><div>; xoffset<span style="white-space:pre">        </span>= 0.0</div><div>; yoffset<span style="white-space:pre">        </span>= 0.075</div><div>; ratio<span style="white-space:pre">                </span>= 1.3125</div><div>; size<span style="white-space:pre">                </span>= 1.2</div><div>; angle <span style="white-space:pre">        </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 = "0.01"</div><div><br></div><div> cn_res1 <span style="white-space:pre">                        </span>= True</div><div> cn_res1@gsMarkerColor<span style="white-space:pre">        </span> <span style="white-space:pre">        </span>= cn_color</div><div> cn_res1@gsLineColor<span style="white-space:pre">        </span> <span style="white-space:pre">        </span>= cn_color</div><div> cn_res1@gsMarkerIndex <span style="white-space:pre">        </span>= 4<span style="white-space:pre">                                                </span>; <-- open circle</div><div> cn_res1@gsMarkerSizeF <span style="white-space:pre">        </span>= 0.10</div><div> cn_res1@gsLineThicknessF <span style="white-space:pre">        </span>= 3</div><div> cn_res1@gsMarkerThicknessF <span style="white-space:pre">        </span>= 3</div><div> cn_res1@gsFontQuality<span style="white-space:pre">                </span>= "High"</div><div><br></div><div> cn_res1_text <span style="white-space:pre">                                </span>= True</div><div> cn_res1_text@txFontHeightF <span style="white-space:pre">                </span>= 0.008</div><div> cn_res1_text@txFontColor <span style="white-space:pre">                </span>= cn_color</div><div> cn_res1_text@txBackgroundFillColor<span style="white-space:pre">        </span>= "white"</div><div><br></div><div> gsn_polymarker_ndc(xwks,cn1_x,cn1_y,cn_res1)</div><div> gsn_text_ndc (xwks,text_cn1,cn1_x + (cn_res1@gsMarkerSizeF/2),cn1_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 = "0.02"</div><div><br></div><div> cn_res2 <span style="white-space:pre">                        </span>= True</div><div> cn_res2@gsMarkerColor<span style="white-space:pre">        </span> <span style="white-space:pre">        </span>= cn_color</div><div> cn_res2@gsLineColor<span style="white-space:pre">        </span> <span style="white-space:pre">        </span>= cn_color</div><div> cn_res2@gsMarkerIndex <span style="white-space:pre">        </span>= 4<span style="white-space:pre">                                                </span>; <-- open circle</div><div> cn_res2@gsMarkerSizeF <span style="white-space:pre">        </span>= cn_res1@gsMarkerSizeF - offset</div><div> cn_res2@gsLineThicknessF <span style="white-space:pre">        </span>= 3</div><div> cn_res2@gsMarkerThicknessF <span style="white-space:pre">        </span>= 3</div><div> cn_res2@gsFontQuality<span style="white-space:pre">                </span>= "High"</div><div><br></div><div> cn_res2_text <span style="white-space:pre">                                </span>= True</div><div> cn_res2_text@txFontHeightF <span style="white-space:pre">                </span>= cn_res1_text@txFontHeightF</div><div> cn_res2_text@txFontColor <span style="white-space:pre">                </span>= cn_color</div><div> cn_res2_text@txBackgroundFillColor<span style="white-space:pre">        </span>= "white"</div><div><br></div><div> gsn_polymarker_ndc(xwks,cn2_x,cn2_y,cn_res2)</div><div> gsn_text_ndc (xwks,text_cn2,cn2_x + (cn_res2@gsMarkerSizeF/2),cn2_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 = "0.03"</div><div><br></div><div> cn_res3 <span style="white-space:pre">                        </span>= True</div><div> cn_res3@gsMarkerColor<span style="white-space:pre">        </span> <span style="white-space:pre">        </span>= cn_color</div><div> cn_res3@gsLineColor<span style="white-space:pre">        </span> <span style="white-space:pre">        </span>= cn_color</div><div> cn_res3@gsMarkerIndex <span style="white-space:pre">        </span>= 4<span style="white-space:pre">                                                </span>; <-- open circle</div><div> cn_res3@gsMarkerSizeF <span style="white-space:pre">        </span>= cn_res2@gsMarkerSizeF - offset</div><div> cn_res3@gsLineThicknessF <span style="white-space:pre">        </span>= 3</div><div> cn_res3@gsMarkerThicknessF <span style="white-space:pre">        </span>= 3</div><div> cn_res3@gsFontQuality<span style="white-space:pre">                </span>= "High"</div><div><br></div><div> cn_res3_text <span style="white-space:pre">                                </span>= True</div><div> cn_res3_text@txFontHeightF <span style="white-space:pre">                </span>= cn_res1_text@txFontHeightF</div><div> cn_res3_text@txFontColor <span style="white-space:pre">                </span>= cn_color</div><div> cn_res3_text@txBackgroundFillColor<span style="white-space:pre">        </span>= "white"</div><div><br></div><div> gsn_polymarker_ndc(xwks,cn3_x,cn3_y,cn_res3)</div><div> gsn_text_ndc (xwks,text_cn3,cn3_x + (cn_res3@gsMarkerSizeF/2),cn3_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 = "s~S~-1~N~"</div><div><br></div><div> cn_res4_text <span style="white-space:pre">                                </span>= True</div><div> cn_res4_text@txFontHeightF <span style="white-space:pre">                </span>= cn_res1_text@txFontHeightF</div><div> cn_res4_text@txFontColor <span style="white-space:pre">                </span>= cn_color</div><div> cn_res4_text@txBackgroundFillColor<span style="white-space:pre">        </span>= -1<span style="white-space:pre">                                        </span>; <-- transparent</div><div><br></div><div> gsn_text_ndc (xwks,text_cn4,cn4_x,cn4_y,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"><br></div>-- <br><div class="gmail_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>
</div></div>