Re: cnLineLabels on Panel contours overlaid on contours

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri, 9 Nov 2007 08:57:10 -0700 (MST)

Soo-Jin,

Can you send me (just me and not ncl-talk) your graphic in which you
draw each of the individual plots as well? You just need to add a
"draw" and "frame" command:

     ...
     overlay(plot(imod), plotT)
     draw(plot(imod))
     frame(wks)

I need to see the panelled plots as well.

Thanks,

--Mary

On Fri, 9 Nov 2007, Soo-Jin Sohn wrote:

> Dear All,
>
>
>
> I'm trying to draw panel plots with 3 by 3.
>
> Each plot is "Contours overlaid on contours" such as
> http://www.ncl.ucar.edu/Applications/Images/conOncon_2_lg.png.
>
>
>
> In single plot, I can see cnLinelabels on contours overlaid on contours.
>
> But they disappear in panel plots.
>
> Even I set cnLineLabelFontHeight and cnLineLabelFontThickness large, I can't
> see.
>
>
>
> The following is the script for this.
>
>
>
> plot = new(nmodel, graphic)
>
>
>
> res = True
>
> res_at_gsnDraw = False
>
> res_at_gsnFrame = False
>
>
>
> res3 = True
>
> res3_at_gsnDraw=False
>
> res3_at_gsnFrame=False
>
>
>
> res3_at_cnLineLabelsOn = True
>
> res3_at_cnLineLabelBackgroundColor = -1
>
> res3_at_cnLineLabelFont = 21
>
> res3_at_cnLineLabelFontHeightF = 0.013
>
> res3_at_cnLineLabelFontThicknessF = 0.13
>
> res3_at_gsnContourZeroLineThicknessF = 2.
>
>
>
> do imod = 0, nmodel-1
>
> plot(imod) = gsn_csm_contour_map(wks, skew, res)
>
> plotT = gsn_csm_contour(wks, t850, res3)
>
> overlay(plot(imod), plotT)
>
> end do ; imod-end
>
>
>
> gsn_panel(wks, plot, (/3, 3/), resp)
>
>
>
>
>
> Is there any solution?
>
>
>
> Thank you.
>
>
>
> Soo-Jin Sohn
>
>
>
> ===================================
>
> Soo-Jin Sohn
>
> Climate Model Specialist
>
> APCC (APEC Climate Center)
>
> National Pension Corporation Busan Bldg.
>
> Yeonsan 2(i)-dong, Yeonje-gu
>
> Busan, 611-705, Republic of Korea
>
> Tel.: +82-51-668-7471,2
>
> Fax: +82-51-668-7473
>
> e-mail: jeenie7_at_apcc21.net
>
> ====================================
>
>
>
>
>
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Nov 09 2007 - 08:57:10 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 09 2007 - 09:36:39 MST