<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, </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;"> zave1 = new ((/7,dimsizes(zave&lat)/), float)</span></div><div><span style="font-size: 21px;"> zave1(0,:) = zave(0,0,:)</span></div><div><span style="font-size: 21px;"> zave1(1,:) = zave(1,0,:)</span></div><div><span style="font-size: 21px;"> zave1(2,:) = zave(2,0,:)</span></div><div><span style="font-size: 21px;"> zave1(3,:) = zave(3,0,:)</span></div><div><span style="font-size: 21px;"> zave1(4,:) = zave(4,0,:)</span></div><div><span style="font-size: 21px;"> zave1(5,:) = zave(5,0,:)</span></div><div><span style="font-size: 21px;"> zave1(6,:) = zave(6,0,:)</span></div><div><span style="font-size: 21px;"> </span></div><div><span style="font-size: 21px;">printVarSummary( zave1) </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;"> wks = gsn_open_wks("png","ts.zonal.labels1") </span></div><div><span style="font-size: 21px;"> </span></div><div><span style="font-size: 21px;">;---Plotting options for time series plot</span></div><div><span style="font-size: 21px;"> res = True</span></div><div><span style="font-size: 21px;"><br></span></div><div><span style="font-size: 21px;"> res@gsnMaximize = True</span></div><div><span style="font-size: 21px;"> res@vpWidthF = 0.8 ; Make plots wider</span></div><div><span style="font-size: 21px;"> res@vpHeightF = 0.6</span></div><div><span style="font-size: 21px;"> res@trYMinF = min(zave)</span></div><div><span style="font-size: 21px;"> res@trYMaxF = 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;"> res@pmLegendDisplayMode = "Always" ; turn on legend</span></div><div><span style="font-size: 21px;"> res@pmLegendWidthF = 0.12 ; Change width and</span></div><div><span style="font-size: 21px;"> res@pmLegendHeightF = 0.15 ; height of legend.</span></div><div><span style="font-size: 21px;"> res@pmLegendOrthogonalPosF = -0.10 ; move up slightly </span></div><div><span style="font-size: 21px;"> res@lgLabelFontHeightF = .011 ; change font height</span></div><div><span style="font-size: 21px;"> res@lgPerimOn = False ; no box around</span></div><div><span style="font-size: 21px;"> </span></div><div><span style="font-size: 21px;">;---Turn off some tickmarks</span></div><div><span style="font-size: 21px;"> res@tmXTOn = False ; bottom off</span></div><div><span style="font-size: 21px;"> res@tmYROn = False ; right off</span></div><div><span style="font-size: 21px;"><br></span></div><div><span style="font-size: 21px;"> </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;"> res@xyExplicitLegendLabels = (/"BCC-CSM1.1","CanCM4","CCSM4","CFSv2-2011","CMCC-CM","FGOALS-G2.0","CFSR"/)</span></div><div><span style="font-size: 21px;"> res@pmLegendParallelPosF = 0.15</span></div><div><span style="font-size: 21px;"> res@xyMonoDashPattern = True ; force all solid lines</span></div><div><span style="font-size: 21px;"> res@xyLineColors = (/"blue","red","brown","purple","green","orange","black"/)</span></div><div><span style="font-size: 21px;"> res@xyLineThicknesses = (/5.0,5.0,5.0,5.,5.,5.,9./) </span></div><div><span style="font-size: 21px;"> </span></div><div><span style="font-size: 21px;"> plot1 = gsn_csm_xy(wks,zave&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 <<a href="mailto:vanucia-schumacher@hotmail.com">vanucia-schumacher@hotmail.com</a>>:</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 </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;"> 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><ts.zonal.labels1.png></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>