<div dir="ltr">Hi Xueyan,<div>An example that does exactly what you want does not exist, but, as the boxplot is an XY plot, you can overlay another XY-plot onto it even if they do not share the same axis. XY plot applications example #27 comes closest to doing what you want: <a href="http://www.ncl.ucar.edu/Applications/xy.shtml#ex27">http://www.ncl.ucar.edu/Applications/xy.shtml#ex27</a></div><div>In this example, gsn_csm_xy3 is used first to draw 3 lines/axes, and then gsn_csm_xy is used to add a 4th line. You can simply use gsn_csm_xy twice and follow the same steps used in that example.</div><div>Good luck,</div><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 8, 2019 at 2:10 PM Xueyan Zhang 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">Hello ncl-talk,<div><br></div><div>Does anyone try to plot boxplot and xyplot in a plot? Like:</div><div><div>
<img>
</div></div><div><div>
<img>
</div><div><div><img src="cid:ii_k3xi28n60" alt="9CA(ZAB6I83@_NR$J~N)A89.png" width="496" height="168"><br></div><div>They have the same X-axis but each type has different y-axis.</div><div><br></div><div>Thanks in advance!</div><div><br></div><div>Xueyan</div>
<img>
</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>