<div dir="ltr">Hi Vanúcia,<div>Please be more specific in your initial query as to what the end goal is, as there can be large differences between creating a single plot and creating a plot to be used in paneling. Following what was done in <a href="http://www.ncl.ucar.edu/Applications/Scripts/xy_27.ncl">XY example #27</a>, I switched from manually overlaying to using NhLAddAnnotation to add the 3rd set of box plots. That change allowed the overlaid plots to be resized (when gsn_panel is called). I went ahead and modified my original script to show an example of how to do this, and have attached the new script and the output graphic.</div><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 13, 2018 at 7:41 PM Vanúcia Schumacher <<a href="mailto:vanucia-schumacher@hotmail.com">vanucia-schumacher@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
<span>Sorry, but I'm not able to generate panel plots with these modifications.<br>
</span>
<div>The right Y-axis is not generated, or becomes a mess.<br>
</div>
<div><br>
</div>
<div>Please find attached the data to re-create this example.<br>
</div>
<div><br>
</div>
<span>Thank you for the advance</span><br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_8103616146674830562divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Adam Phillips <<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>><br>
<b>Enviado:</b> terça-feira, 13 de novembro de 2018 20:07<br>
<b>Para:</b> Vanúcia Schumacher<br>
<b>Cc:</b> Ncl-talk<br>
<b>Assunto:</b> Re: [ncl-talk] boxplot second Y axis</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Vanúcia,
<div>Thank you for sending your data and an easy to run script so I could quickly try things out. I've modified your script to perform a manual overlay of the two boxplots on one another, as well as creating a new boxplot function where the right hand Y-axis
 border and tick marks are turned on. (I copied the boxplot function from shea_util.ncl, commented out lines 106/108, and saved the function as boxplot2.)</div>
<div><br>
</div>
<div>I've attached a modified version of your script, the output graphic and the slightly modified boxplot function. If you have any further questions let ncl-talk know.</div>
<div>Adam</div>
</div>
<br>
<div class="m_8103616146674830562x_gmail_quote">
<div dir="ltr">On Mon, Nov 12, 2018 at 5:05 PM Vanúcia Schumacher <<a href="mailto:vanucia-schumacher@hotmail.com" target="_blank">vanucia-schumacher@hotmail.com</a>> wrote:<br>
</div>
<blockquote class="m_8103616146674830562x_gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
Hi </div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
I'm trying to plot a boxplot with two Y axes, but I can not fix the right axis.<span><br>
</span><span>Attached is my script and the data. </span><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
<span>The data has 36 rows and 14 columns, the one.txt data, I want to plot non-missing data with the same Y axis on the left side.<br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
<span>The file data: two.txt, I wish to plot on the right Y axis, with the same X axis of the first file (one.txt).<br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
<span>I do not know if it will be possible to create this plot, if anyone has any suggestions on how to proceed, I  will be grateful.<br>
</span></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><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="m_8103616146674830562x_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>
</div>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="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>