<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Harald,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I looked into this, and discovered a bug that would keep you from being able to customize the axes in the way you want.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The bug will be fixed in NCL V6.5.0, but I've attached a fix that should work. I've also attached a sample script to show how to do what I think you're asking.</div><div class="gmail_default" style="font-size:small"><br></div>To get the fix, you need to load the fixed script<div class="gmail_default" style="font-size:small;display:inline"> with:</div><div class="gmail_default" style="font-size:small;display:inline"></div><div class="gmail_default" style="font-size:small;display:inline"></div><div class="gmail_default" style="font-size:small;display:inline"></div><br><br>load "gsn_attach_plots_fix.ncl"<div><br></div><div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"></div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 16, 2018 at 7:09 AM, Rybka Harald <span dir="ltr"><<a href="mailto:harald.rybka@exch.dwd.de" target="_blank">harald.rybka@exch.dwd.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>I have a question concerning tickmarks on y-axes and attaching
plots with "gsn_attach_plots" procedure. <br>
</p>
<p>I want to create three pdf plots next to each other (attaching on
the y-axis, see attached file) but instead of removing the border
between the plots (or having it as a straight line) it would be
great to have the possibility to show the tickmarks (without
labels) on these axes between the plots. Is there a way to set up
the axis resources so that this is possible? Preferably, I would
like to have tickmarks between the borders which are located
inward and outward at the same time.<br>
</p>
<p> Below are the relevant lines of my ncl-script to produce the
attached image. I have not been able to get it to work as
described above...<br>
</p>
<p>Any ideas?</p>
<p>-- Harald<br>
</p>
<p><i><font size="-1">FilePath = plotdir + FileName<br>
wks = gsn_open_wks(wks_type,<wbr>FilePath)<br>
<br>
; set resources<br>
res = True<br>
res@gsnFrame = False<br>
res@gsnDraw = False<br>
<br>
res@tmXTBorderOn = False<br>
res@tmXTOn = False<br>
res@tmYRBorderOn = False<br>
res@tmYROn = False<br>
res@xyLineThicknessF = 2.5<br>
<br>
res@trXMinF = 0<br>
res@trXMaxF = 14.99<br>
<br>
res@tiXAxisString = "PDF in %"<br>
res@tiYAxisString = "cloud bottom height in m"<br>
<br>
; res@gsnXYBarChart = True ; create
bar plot<br>
; res@gsnXYBarChartOutlineOnly = True<br>
<br>
noplt = 3<br>
plot_obs = new((/noplt/),graphic) ; create a plot array<br>
<br>
plot_obs(0) = gsn_csm_xy (wks, zcb_pdf1,
zcb_pdf1@bin_center, res)<br>
</font></i></p>
<p><i><font size="-1"> res1=res</font></i></p>
<p><i><font size="-1"> res1@tmYLLabelsOn = False<br>
</font></i></p>
<p><i><font size="-1"> plot_obs(1) = gsn_csm_xy (wks, zcb_pdf2,
zcb_pdf2@bin_center, res1)<br>
plot_obs(2) = gsn_csm_xy (wks, zcb_pdf3,
zcb_pdf3@bin_center, res1)<br>
<br>
res@gsnAttachBorderOn = False<br>
plobs =
gsn_attach_plots(plot_obs(0),(<wbr>/plot_obs(1),plot_obs(2)/),<wbr>res,res1)<br>
<br>
draw(plot_obs(0))<br>
frame(wks)</font></i></p><span class="HOEnZb"><font color="#888888">
<pre class="m_5268861072821660319moz-signature" cols="72">--
______________________________<wbr>__________________________
Forschung und Entwicklung (FE14)
Frankfurter Straße 135
63067 Offenbach am Main
E-Mail: <a class="m_5268861072821660319moz-txt-link-abbreviated" href="mailto:harald.rybka@dwd.de" target="_blank">harald.rybka@dwd.de</a> Tel.: +49(69) 8062-2225
- Wissenschaftlicher Mitarbeiter HD(CP)²-Projekt -
Website: <a class="m_5268861072821660319moz-txt-link-abbreviated" href="http://www.hdcp2.eu" target="_blank">www.hdcp2.eu</a></pre>
</font></span></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>