<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body 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,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),(/plot_obs(1),plot_obs(2)/),res,res1)<br>
<br>
draw(plot_obs(0))<br>
frame(wks)</font></i></p>
<pre class="moz-signature" cols="72">--
________________________________________________________
Forschung und Entwicklung (FE14)
Frankfurter Straße 135
63067 Offenbach am Main
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:harald.rybka@dwd.de">harald.rybka@dwd.de</a> Tel.: +49(69) 8062-2225
- Wissenschaftlicher Mitarbeiter HD(CP)²-Projekt -
Website: <a class="moz-txt-link-abbreviated" href="http://www.hdcp2.eu">www.hdcp2.eu</a></pre>
</body>
</html>