<div dir="ltr"><div class="gmail_default" style="color:rgb(0,0,255)">Dear Folks,<br></div><div class="gmail_default" style="color:rgb(0,0,255)"> <br></div><div class="gmail_default" style="color:rgb(0,0,255)">I'm having a hard time to attach two plots. Seperately they're fine but attaching then along the Y axis is giving an error message. Do anyone have an idea of what is missing here?<br><br>********The program is given below**********<br>u_latH1 = u_latH->uwnd(0,0:12,:,0)<br>h_u1 = h_u->uwnd(0,0:12,0,0)<br><br><br>u_latH1!0 = "la"<br>u_latH1!1 = "lev"<br>h_u1!0 = "lev"<br><br>wks = gsn_open_wks("ps", "dry_ensoonly_profile" ) ; open workstation<br><br>;==============================================<br>; create first plot<br>;=============================================<br><br> res = True <br> res@tiMainString = "DtC [strg ENSO]" ; title <br> res@cnLevelSpacingF = 5.0 <br> res@gsnContourZeroLineThicknessF = 2. <br> res@gsnContourNegLineDashPattern = 1 <br> res@lbLabelAutoStride = True <br> res@cnLevelSelectionMode = "ManualLevels" <br> res@cnMinLevelValF = -25. <br> res@cnMaxLevelValF = 5. <br> res@cnLineLabelsOn = True <br> res@tmYRMode = "Automatic" <br> <br> base_plot = gsn_csm_pres_hgt(wks, u_latH1, res ) <br><br>;==============================================<br>; create second plot<br>;=============================================<br><br> xyres = True <br> xyres@tiMainString = "Absolute anomaly w.r.t 1981-2010" <br> xyres@trYReverse = True ; reverse Y-axis<br> xyres@xyDashPatterns = 15 ; choose dash patterns<br> xyres@trXMinF = -2<br> xyres@trXMaxF = 2<br><br> sec_plot = gsn_csm_xy(wks,h_u1,h_u1&lev,xyres)<br><pre>;==============================================
; attach plots
;=============================================
</pre> newplot = gsn_attach_plots(base_plot,(/sec_plot/),res,xyres)<br> draw(base_plot)<br> frame(wks)<br><br><br></div><div class="gmail_default" style="color:rgb(0,0,255)">*********The error message*************<br></div><div class="gmail_default" style="color:rgb(0,0,255)">Copyright (C) 1995-2013 - All Rights Reserved<br> University Corporation for Atmospheric Research<br> NCAR Command Language Version 6.1.2<br> The use of this software is governed by a License Agreement.<br> See <a href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/</a> for more details.<br>warning:NhlGetValues:Error retrieving tmXBLabelFontHeightF<br>fatal:["Execute.c":8128]:Execute: Error occurred at or near line 7338 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl<br><br>fatal:["Execute.c":8128]:Execute: Error occurred at or near line 63 in file uwnd_plot.ncl<br><br><br></div><div class="gmail_default" style="color:rgb(0,0,255)">Thank you in advance.<br><br></div><div class="gmail_default" style="color:rgb(0,0,255)">best regards,<br><br></div><div class="gmail_default" style="color:rgb(0,0,255)">Seyni</div><br><div class="gmail_extra"><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div><div>---<br><span style="background-color:rgb(238,238,238)"><font size="2"><span style="font-family:arial,helvetica,sans-serif">Dr. Seyni Salack,<span><span><span><br>Karlsruhe Institute of Technology (KIT)<br>Campus Alpin - Institute of Meteorology and Climate Research (IMK-IFU)<br>Ballengasse 19a<br>82467 Garmisch-Partenkirchen, Germany</span></span></span> <br></span></font></span></div><span style="background-color:rgb(238,238,238)"><font size="2"><span style="font-family:arial,helvetica,sans-serif">Mobile: +49-(0)175-8411934 |</span></font><font size="2"><span style="font-family:arial,helvetica,sans-serif"> Landline: +49-(0)8821-183246 |</span></font><font size="2"><span style="font-family:arial,helvetica,sans-serif"> Skype: sesawu<br></span></font></span></div></div></div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="background-color:rgb(238,238,238)">Email: <a href="mailto:seyni.salack@kit.edu" target="_blank">seyni.salack@kit.edu</a> / <a href="mailto:abutawakalt@gmail.com" target="_blank">abutawakalt@gmail.com</a>, Twitter: @ssalack</span><br></span></font><div><div><div><div><div><div>---<br></div></div></div></div></div></div></div></div>
</div></div>