<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Jonathan,<div>Unfortunately it seems like the numbering of the markers is hardwired into the taylor_diagram.ncl script. You can get around this though, by adding your own special resource and hacking the function code a bit. I would recommend copying taylor_diagram.ncl to taylor_diagram_mod.ncl, load the latter file at the top or your script, and do the following:</div><div>1 - Create a new resource to pass into taylor_diagram_mod.ncl with the size of the logical variable being equal to the number of cases. If you have 4 cases and only want labels to be drawn for the first two cases it would be set like this:</div><div>res@CaseMarkerLabelDraw = (/True,True,False,False/)</div><div><br></div><div>2 - Modify taylor_diagram_mod.ncl to recognize this new resource. The part of the code where the polymarkers and drawn and labeled is lines 379-387. Change this:</div><div><div>do n=0,nCase-1</div><div> gsRes@gsMarkerIndex = Markers(n) ; marker style (+)</div><div> gsRes@gsMarkerColor = Colors(n) ; marker color</div><div> ptRes@txFontColor = gsRes@gsMarkerColor</div><div> do i=0,nVar-1</div><div> dum10(n*nVar+i) = gsn_add_polymarker(wks,taylor,X(n,i),Y(n,i),gsRes) </div><div> dum11(n*nVar+i) = gsn_add_text(wks,taylor,(i+1),X(n,i),Y(n,i)+markerTxYOffset,ptRes)</div><div> end do</div><div> end do</div></div><div><br></div><div>do this:</div><div><br></div><div><div>do n=0,nCase-1</div><div> gsRes@gsMarkerIndex = Markers(n) ; marker style (+)</div><div> gsRes@gsMarkerColor = Colors(n) ; marker color</div><div> ptRes@txFontColor = gsRes@gsMarkerColor</div><div> do i=0,nVar-1</div><div> dum10(n*nVar+i) = gsn_add_polymarker(wks,taylor,X(n,i),Y(n,i),gsRes) </div><div> if (gsRes@CaseMarkerLabelDraw(n)) then</div><div> dum11(n*nVar+i) = gsn_add_text(wks,taylor,(i+1),X(n,i),Y(n,i)+markerTxYOffset,ptRes)</div><div> end if</div><div> end do</div><div> end do</div></div><div><br></div><div>I believe that should do it. Hope that makes sense. If you have any further questions let ncl-talk know.</div><div>Adam</div><div><br></div><div><br></div><div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 7, 2018 at 10:19 AM Buzan, Jonathan <<a href="mailto:jbuzan@purdue.edu">jbuzan@purdue.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">Hi NCL,<br>
<br>
I am attempting to make a taylor plot. My multi-model mean ESI and sWBGT have labels of “1” next to them. I would like to remove that label. The numbers correspond to other models, and not the multi-model mean. <br>
<br>
How I call in the data: (/4, 18/). ({0,2},:) = CMIP5 sWBGT and ESI data. ({2,3},0) = single slot multi-model mean sWBGT and ESI, the rest is fill value.<br>
<br>
Goals of the plot:<br>
1) 2 variables on the plot. <br>
2) 18 CMIP5 models<br>
3) two multi-model means.<br>
4) clear color difference between CMIP5 models and CMIP5 average.<br>
<br>
Thanks for the help!<br>
<br>
-Jonathan<br>
<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>