Re: Title problem

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Wed May 05 2010 - 09:26:34 MDT

Hi Ka Yee,

The ~C~ looks like a "function code" string, designating for a
carriage return in your title. I don't know where it originates, but
you might take a look at your ".hluresfile" in your home directory,
and see if you have the line:

*TextFuncCode : ~

More info on "function codes" can be found at:

        http://www.ncl.ucar.edu/Document/Graphics/function_code.shtml

You also might take a look at the following link for recommended
settings in your .hluresfile:

        http://www.ncl.ucar.edu/Document/Graphics/hlures.shtml

Hope that helps...
Rick

On May 4, 2010, at 4:13 PM, Ka Yee Wong wrote:

> Hi all,
>
> I made a plot of the filled contour(temp) overlay with the line
> contour
> (terrain). However, I noticed that the top left corner has ~C~ under
> my
> left title string (attach). Any idea that I can get rid of this ~C~? I
> already tried to put res@gsnLeftString= " ", but it is still there.
>
> Thanks,
> Ka Yee
>
> this is part of my script:
> ;-------------------------------------------------------------
> ; Define title resources
> ;-------------------------------------------------------------
> res = True
> ; res@tiMainOn = False
> res@gsnDraw = False
> res@gsnFrame = False
>
> res@gsnLeftString = "Terrain (m)"
> res@gsnRightString = " "
>
> res@tiMainString = " "
>
> ;-------------------------------------------------------------
> ; Define contour resources
> ;-------------------------------------------------------------
> res@cnLineLabelsOn = False
> res@cnInfoLabelOn = False
> res@cnFillOn = False
> res@cnMonoFillColor = True
> res@cnLinesOn = True
>
> res@cnLevelSelectionMode = "ManualLevels"
> res@cnLevelSpacingF = rangel
>
> ;-------------------------------------------------------------
> ; Plot the terrain & map
> ;-------------------------------------------------------------
> map = gsn_csm_contour(wks,HGT,res)
> ;=
> =
> =
> =
> =
> =
> =
> =
> =
> =====================================================================;
> ; Plot T2
> ;=
> =
> =
> =
> =
> =
> =
> =
> =
> =====================================================================;
> res1 = True ; plot mods desired
> res1@lbLabelBarOn = True
> res1@gsnDraw = False
> res1@gsnFrame = False
> res1@gsnLeftString = " "
> res1@tiMainString = " " ; title
>
> res1@cnFillOn = True
> res1@cnLevelSelectionMode = "ExplicitLevels"
> res1@cnLevels = range1
>
> res1@gsnSpreadColors = True
>
> res1@lbTitleOn = True
> res1@lbTitleString = "Temperature at 2M Bias (K)"
> res1@lbTitlePosition = "Bottom"
> res1@lbTitleFontHeightF = 0.015
>
> res1@lbLabelFontHeightF = 0.010
> res1@lbLabelAngleF =45
>
> ;=
> =
> =
> =
> =
> =
> =
> =
> =
> =====================================================================;
> ; Create plots
> ;=
> =
> =
> =
> =
> =
> =
> =
> =
> =====================================================================;
>
> plot1 = gsn_csm_contour(wks,T2,res1)
>
> plt_res = True
> map_res = True
>
> over_id1 = wrf_map_overlays(f,wks,(/plot1,map/),plt_res,map_res) ;
> create T2 plot
>
> <T2.pdf>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed May 5 09:26:40 2010

This archive was generated by hypermail 2.1.8 : Fri May 07 2010 - 10:36:00 MDT