Re: Fwd: Increasing font size of title and x and y-axis.

From: Waqar Younas <vickyqau_at_nyahnyahspammersnyahnyah>
Date: Mon Jan 07 2013 - 22:32:54 MST

The labels of figures and titles are overlapping.
Thanks.

On Sun, Jan 6, 2013 at 10:35 AM, Adam Phillips <asphilli@ucar.edu> wrote:

> Hi Waqar,
> Whenever you want to know how to do something, it is suggested that you
> first use the NCL search box located in the upper right part of the NCL
> website's pages. If that does not work I would try looking at the NCL
> example page here:
> http://www.ncl.ucar.edu/Applications/<http://www.ncl.ucar.edu/Applications/font.shtml>
> to see if any categories exist that might help you solve your problem. In
> this case, there is an application category called Font Heights:
> http://www.ncl.ucar.edu/Applications/font.shtml
> See examples 3 and 5.
>
> If that does not solve your issue please respond to ncl-talk.
> Adam
>
> On Jan 5, 2013, at 23:14, Waqar Younas <vickyqau@gmail.com> wrote:
>
>
>
> ---------- Forwarded message ----------
> From: Waqar Younas <vickyqau@gmail.com>
> Date: Fri, Jan 4, 2013 at 5:31 PM
> Subject: Increasing font size of title and x and y-axis.
> To: ncl-talk@ucar.edu
>
>
> Hi
> I want to increase the font size of title and x and y-axis so that they
> are more clearly visible.
> Please find attached the figure.
> Here is the code.
>
> Here the lat are from 30S to 30N with global longitudes.
>
> plot = new (50,graphic)
>
>
> res = True
> res@gsnDraw = False ; don't draw yet
> res@gsnFrame = False ; don't advance frame yet
> res@gsnSpreadColors = True ; spread out color table
> res@gsnAddCyclic = False ; plotted dataa are not
> cyclic
> res@mpFillOn = True ; turn off map fill
> res@cnFillOn = False ; turn on color fill
> res@cnLinesOn = True ; True is default
> res@cnLineLabelsOn = True ; True is default
> res@lbLabelBarOn = True ; turn off
> individual lb's
>
> res@mpMaxLatF = maxlat0
> res@mpMinLatF = minlat0
> res@mpMaxLonF = maxlon0
> res@mpMinLonF = minlon0
> res@mpCenterLatF = (maxlat0-minlat0)/2+minlat0
> res@mpCenterLonF = (maxlon0-minlon0)/2+minlon0
>
> resP = True ; modify the panel plot
>
> ; panel plot only resources
>
> wks = gsn_open_wks("eps","u850_winter_ENSEMBLES")
> gsn_define_colormap(wks, "BlWhRe")
>
> opt = True
> opt@gsnShadeFillType = "color"
> opt@gsnShadeHigh = "grey70"
> opt@gsnShadeLow = "grey25"
> res@gsnCenterString ="u850_ECMWF_winter"
> plot(0)=gsn_csm_contour_map_ce(wks,u850_ndjf_ecmwf,res)
> plot(0) = gsn_contour_shade(plot(0), -999.,6.,opt)
>
> res@gsnCenterString ="u850_MF_winter"
> plot(1)=gsn_csm_contour_map_ce(wks,u850_ndjf_mf,res)
> plot(1) = gsn_contour_shade(plot(1), -999.,6.,opt)
>
>
> res@gsnCenterString ="u850_UKMO_winter"
> plot(2)=gsn_csm_contour_map_ce(wks,u850_ndjf_ukmo,res)
> plot(2) = gsn_contour_shade(plot(2), -999.,6.,opt)
>
>
> res@gsnCenterString ="u850_CMCC_INGV_winter"
> plot(3)=gsn_csm_contour_map_ce(wks,u850_ndjf_cmcc_ingv,res)
> plot(3) = gsn_contour_shade(plot(3), -999.,6.,opt)
>
>
> res@gsnCenterString ="u850_IFM_GEOMAR_winter"
> plot(4)=gsn_csm_contour_map_ce(wks,u850_ndjf_ifm_geomar,res)
> plot(4) = gsn_contour_shade(plot(4), -999.,6.,opt)
>
> res@gsnCenterString ="u850_NCEP_winter"
> plot(5)=gsn_csm_contour_map_ce(wks,NCEP_winter,res)
> plot(5) = gsn_contour_shade(plot(5), -999.,6.,opt)
>
> gsn_panel(wks,plot,(/3,2/),resP)
>
> Thanks.
>
> --
> Best Regards
>
> Waqar Younas
> PhD Candidate
> Natural Resources and Environmental Studies (NRES)
> University of Northern British Columbia (UNBC)
> Canada
>
>
>
> --
> Best Regards
>
> Waqar Younas
> PhD Candidate
> Natural Resources and Environmental Studies (NRES)
> University of Northern British Columbia (UNBC)
> Canada
>
> <u850_summer_ENSEMBLES.eps>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

-- 
Best Regards
Waqar Younas
PhD Candidate
Natural Resources and Environmental Studies (NRES)
University of Northern British Columbia (UNBC)
Canada
On Sun, Jan 6, 2013 at 10:35 AM, Adam Phillips <asphilli@ucar.edu> wrote:
> Hi Waqar,
> Whenever you want to know how to do something, it is suggested that you
> first use the NCL search box located in the upper right part of the NCL
> website's pages. If that does not work I would try looking at the NCL
> example page here:
> http://www.ncl.ucar.edu/Applications/<http://www.ncl.ucar.edu/Applications/font.shtml>
> to see if any categories exist that might help you solve your problem. In
> this case, there is an application category called Font Heights:
> http://www.ncl.ucar.edu/Applications/font.shtml
> See examples 3 and 5.
>
> If that does not solve your issue please respond to ncl-talk.
> Adam
>
> On Jan 5, 2013, at 23:14, Waqar Younas <vickyqau@gmail.com> wrote:
>
>
>
> ---------- Forwarded message ----------
> From: Waqar Younas <vickyqau@gmail.com>
> Date: Fri, Jan 4, 2013 at 5:31 PM
> Subject: Increasing font size of title and x and y-axis.
> To: ncl-talk@ucar.edu
>
>
> Hi
> I want to increase the font size of title and x and y-axis so that they
> are more clearly visible.
> Please find attached the figure.
> Here is the code.
>
> Here the lat are from 30S to 30N with global longitudes.
>
> plot   = new (50,graphic)
>
>
>  res                            = True
>  res@gsnDraw                    = False          ; don't draw yet
>  res@gsnFrame                   = False          ; don't advance frame yet
>  res@gsnSpreadColors            = True           ; spread out color table
>  res@gsnAddCyclic               = False           ; plotted dataa are not
> cyclic
>  res@mpFillOn                   = True           ; turn off map fill
>  res@cnFillOn                   = False           ; turn on color fill
>  res@cnLinesOn                  = True           ; True is default
>  res@cnLineLabelsOn             = True           ; True is default
>  res@lbLabelBarOn               = True                ; turn off
> individual lb's
>
>  res@mpMaxLatF                  = maxlat0
>  res@mpMinLatF                  = minlat0
>  res@mpMaxLonF                  = maxlon0
>  res@mpMinLonF                  = minlon0
>  res@mpCenterLatF               = (maxlat0-minlat0)/2+minlat0
>  res@mpCenterLonF               = (maxlon0-minlon0)/2+minlon0
>
> resP                     = True         ; modify the panel plot
>
> ; panel plot only resources
>
> wks = gsn_open_wks("eps","u850_winter_ENSEMBLES")
> gsn_define_colormap(wks, "BlWhRe")
>
> opt = True
>     opt@gsnShadeFillType = "color"
>     opt@gsnShadeHigh = "grey70"
>     opt@gsnShadeLow = "grey25"
>     res@gsnCenterString ="u850_ECMWF_winter"
>     plot(0)=gsn_csm_contour_map_ce(wks,u850_ndjf_ecmwf,res)
>     plot(0) = gsn_contour_shade(plot(0), -999.,6.,opt)
>
> res@gsnCenterString ="u850_MF_winter"
>     plot(1)=gsn_csm_contour_map_ce(wks,u850_ndjf_mf,res)
>     plot(1) = gsn_contour_shade(plot(1), -999.,6.,opt)
>
>
> res@gsnCenterString ="u850_UKMO_winter"
>     plot(2)=gsn_csm_contour_map_ce(wks,u850_ndjf_ukmo,res)
>     plot(2) = gsn_contour_shade(plot(2), -999.,6.,opt)
>
>
> res@gsnCenterString ="u850_CMCC_INGV_winter"
>     plot(3)=gsn_csm_contour_map_ce(wks,u850_ndjf_cmcc_ingv,res)
>     plot(3) = gsn_contour_shade(plot(3), -999.,6.,opt)
>
>
> res@gsnCenterString ="u850_IFM_GEOMAR_winter"
>     plot(4)=gsn_csm_contour_map_ce(wks,u850_ndjf_ifm_geomar,res)
>     plot(4) = gsn_contour_shade(plot(4), -999.,6.,opt)
>
>     res@gsnCenterString ="u850_NCEP_winter"
>     plot(5)=gsn_csm_contour_map_ce(wks,NCEP_winter,res)
>     plot(5) = gsn_contour_shade(plot(5), -999.,6.,opt)
>
> gsn_panel(wks,plot,(/3,2/),resP)
>
> Thanks.
>
> --
> Best Regards
>
> Waqar Younas
> PhD Candidate
> Natural Resources and Environmental Studies (NRES)
> University of Northern British Columbia (UNBC)
> Canada
>
>
>
> --
> Best Regards
>
> Waqar Younas
> PhD Candidate
> Natural Resources and Environmental Studies (NRES)
> University of Northern British Columbia (UNBC)
> Canada
>
> <u850_summer_ENSEMBLES.eps>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-- 
Best Regards
Waqar Younas
PhD Candidate
Natural Resources and Environmental Studies (NRES)
University of Northern British Columbia (UNBC)
Canada


_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Mon Jan 7 22:33:15 2013

This archive was generated by hypermail 2.1.8 : Mon Jan 14 2013 - 14:31:38 MST