<div dir="ltr">Hi Tabish,<div>Unfortunately it is not as easy as it should be. To alter the dash pattern you will have to take the boxplot function tfrom shea_util.ncl:</div><div>$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl<br></div><div>Copy the boxplot function to a new file, change the file name to boxplot2.ncl, change the function name to boxplot2, and load the new boxplot2.ncl at the top of your script.</div><div><br></div><div>Within the new boxplot2.ncl function, you will see lines like this:</div><div>polyres@gsLineDashPattern = 0<br></div><div>...</div><div>polyres@gsLineDashPattern = 1<br></div><div><br></div><div>You are going to want to change the latter to a different tick mark style from this table:</div><div><a href="https://www.ncl.ucar.edu/Document/Graphics/Images/dashpatterns.png">https://www.ncl.ucar.edu/Document/Graphics/Images/dashpatterns.png</a><br></div><div><br></div><div>Alternatively you can create your own dash pattern using NhlNewDashPattern:</div><div><a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/NhlNewDashPattern.shtml">http://www.ncl.ucar.edu/Document/Functions/Built-in/NhlNewDashPattern.shtml</a><br></div><div><br></div><div>Hope that helps!</div><div>Adam</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 10, 2019 at 12:51 PM Tabish Ansari via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@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 dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Hi</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">I have a boxplot panelled with a time-series plot. For better fit, I had to scale it down to match the height of the time-series panel. Every part of the boxplot has scaled down nicely but the spacing between error bars is still according to the original size figure - which makes the dashes too big for the scaled down plot.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Is there a way I can use shorter dashes for the error bars?</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Thanks</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Tabish</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br clear="all"></div><div><div dir="ltr" class="gmail-m_9134292413506079920gmail_signature"><div dir="ltr"><div><div><font size="1"><span style="font-family:tahoma,sans-serif">Tabish U Ansari<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">PhD student, Lancaster Environment Center<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">Lancaster Univeristy<br> <span>Bailrigg</span>, <span>Lancaster</span>, <br><span>LA1 4YW</span>, <span>United Kingdom</span></span></font><br></div></div></div></div>
_______________________________________________<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></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>