<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Calibri,sans-serif" color="#000000"><span style="font-size: 16pt;">Sorry,&nbsp;</span><span style="font-size: 21px;">I forgot to include the script, below:</span></font><div><font face="Calibri,sans-serif" color="#000000"><span style="font-size: 21px;"><br></span></font></div><div><font face="Calibri,sans-serif" color="#000000"><div><span style="font-size: 21px;">&nbsp;zave1 = new ((/7,dimsizes(zave&amp;lat)/), float)</span></div><div><span style="font-size: 21px;">&nbsp; zave1(0,:) = zave(0,0,:)</span></div><div><span style="font-size: 21px;">&nbsp; zave1(1,:) = zave(1,0,:)</span></div><div><span style="font-size: 21px;">&nbsp; zave1(2,:) = zave(2,0,:)</span></div><div><span style="font-size: 21px;">&nbsp; zave1(3,:) = zave(3,0,:)</span></div><div><span style="font-size: 21px;">&nbsp; zave1(4,:) = zave(4,0,:)</span></div><div><span style="font-size: 21px;">&nbsp; zave1(5,:) = zave(5,0,:)</span></div><div><span style="font-size: 21px;">&nbsp; zave1(6,:) = zave(6,0,:)</span></div><div><span style="font-size: 21px;">&nbsp;</span></div><div><span style="font-size: 21px;">printVarSummary( zave1)&nbsp;</span></div><div><span style="font-size: 21px;">;************************************************</span></div><div><span style="font-size: 21px;">; plot</span></div><div><span style="font-size: 21px;">;************************************************</span></div><div><span style="font-size: 21px;">&nbsp; &nbsp;wks &nbsp;= gsn_open_wks("png","ts.zonal.labels1") &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></div><div><span style="font-size: 21px;">&nbsp;</span></div><div><span style="font-size: 21px;">;---Plotting options for time series plot</span></div><div><span style="font-size: 21px;">&nbsp; res &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = True</span></div><div><span style="font-size: 21px;"><br></span></div><div><span style="font-size: 21px;">&nbsp; res@gsnMaximize = True</span></div><div><span style="font-size: 21px;">&nbsp; res@vpWidthF &nbsp; &nbsp; &nbsp;= 0.8 &nbsp; &nbsp; &nbsp; &nbsp;; Make plots wider</span></div><div><span style="font-size: 21px;">&nbsp; res@vpHeightF &nbsp; &nbsp; = 0.6</span></div><div><span style="font-size: 21px;">&nbsp; res@trYMinF &nbsp; &nbsp; = min(zave)</span></div><div><span style="font-size: 21px;">&nbsp; res@trYMaxF &nbsp; &nbsp; = max(zave)</span></div><div><br></div><div><span style="font-size: 21px;">;---Resources for legend</span></div><div><span style="font-size: 21px;"><br></span></div><div><span style="font-size: 21px;">&nbsp; res@pmLegendDisplayMode &nbsp; &nbsp;= "Always" &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; turn on legend</span></div><div><span style="font-size: 21px;">&nbsp; res@pmLegendWidthF &nbsp; &nbsp; &nbsp; &nbsp; = 0.12 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; Change width and</span></div><div><span style="font-size: 21px;">&nbsp; res@pmLegendHeightF &nbsp; &nbsp; &nbsp; &nbsp;= 0.15 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; height of legend.</span></div><div><span style="font-size: 21px;">&nbsp; res@pmLegendOrthogonalPosF = -0.10 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; move up slightly&nbsp;</span></div><div><span style="font-size: 21px;">&nbsp; res@lgLabelFontHeightF &nbsp; &nbsp; = .011 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; change font height</span></div><div><span style="font-size: 21px;">&nbsp; res@lgPerimOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= False &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; no box around</span></div><div><span style="font-size: 21px;">&nbsp;</span></div><div><span style="font-size: 21px;">;---Turn off some tickmarks</span></div><div><span style="font-size: 21px;">&nbsp; res@tmXTOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = False &nbsp; &nbsp;; bottom off</span></div><div><span style="font-size: 21px;">&nbsp; res@tmYROn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = False &nbsp; &nbsp;; right off</span></div><div><span style="font-size: 21px;"><br></span></div><div><span style="font-size: 21px;">&nbsp;&nbsp;</span></div><div><span style="font-size: 21px;">;---Create the four XY plots</span></div><div><span style="font-size: 21px;"><br></span></div><div><span style="font-size: 21px;">&nbsp; &nbsp;res@xyExplicitLegendLabels &nbsp;= (/"BCC-CSM1.1","CanCM4","CCSM4","CFSv2-2011","CMCC-CM","FGOALS-G2.0","CFSR"/)</span></div><div><span style="font-size: 21px;">&nbsp; &nbsp;res@pmLegendParallelPosF &nbsp; &nbsp;= 0.15</span></div><div><span style="font-size: 21px;">&nbsp; &nbsp;res@xyMonoDashPattern &nbsp; &nbsp; &nbsp; = True &nbsp; &nbsp; ; force all solid lines</span></div><div><span style="font-size: 21px;">&nbsp; &nbsp;res@xyLineColors &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= (/"blue","red","brown","purple","green","orange","black"/)</span></div><div><span style="font-size: 21px;">&nbsp; &nbsp;res@xyLineThicknesses &nbsp; &nbsp; &nbsp; = (/5.0,5.0,5.0,5.,5.,5.,9./) &nbsp;</span></div><div><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp;</span></div><div><span style="font-size: 21px;">&nbsp; &nbsp;plot1 = gsn_csm_xy(wks,zave&amp;lat,zave1,res)</span></div><div style="font-size: 21px;"><br></div></font><br><br><div><hr id="stopSpelling">Subject: Re: [ncl-talk] problems with legends side-by-side.<br>From: meier-fleischer@dkrz.de<br>Date: Mon, 30 Mar 2015 17:25:33 +0200<br>CC: ncl-talk@ucar.edu<br>To: vanucia-schumacher@hotmail.com<br><br>Hi Vanucia,<div><br></div><div>without any further information it is not possible to help. As you mentioned the example xy_32.ncl does what you want.</div><div>Send your script and the error message.</div><div><br></div><div>Bye,</div><div>Karin</div><div><br><div><div>Am 30.03.2015 um 17:19 schrieb Vanúcia Schumacher &lt;<a href="mailto:vanucia-schumacher@hotmail.com">vanucia-schumacher@hotmail.com</a>&gt;:</div><br class="ecxApple-interchange-newline"><blockquote><div class="ecxhmmessage" style="font-size:12pt;font-family:Calibri;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><div dir="ltr"><div style="font-size:21.3333339691162px;">Hi users,</div><div style="font-size:21.3333339691162px;"><br></div><div><span style="font-size:21.3333339691162px;">I would like to put subtitles side -by-side&nbsp;</span><font size="3"><span style="font-family:verdana, sans-serif;line-height:16px;background-color:rgb(255, 231, 198);">,</span></font><span style="font-size:21.3333339691162px;">&nbsp;3 on top</span></div><span style="font-size:21.3333339691162px;"><div>and 4 below (attached )</div><div><br></div><div>Anyone know how can I do? already tried the example xy_32.ncl but failed.</div></span></div><span>&lt;ts.zonal.labels1.png&gt;</span>_______________________________________________<br>ncl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></div></blockquote></div><br><div>
<div style="color:rgb(0, 0, 0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;"><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;word-wrap:break-word;"><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;word-wrap:break-word;"><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;word-wrap:break-word;"><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;word-wrap:break-word;"><span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;border-spacing:0px;"><div style="word-wrap:break-word;"><span class="ecxApple-style-span" style="border-collapse:separate;font-family:Helvetica;font-variant:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;border-spacing:0px;"><div style="word-wrap:break-word;"><span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;border-spacing:0px;"><div style="word-wrap:break-word;"><br></div></span></div></span></div></span></div></div></div></div></div></div></div></div></div>                                               </div></body>
</html>