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

From: Waqar Younas <vickyqau_at_nyahnyahspammersnyahnyah>
Date: Tue Jan 08 2013 - 11:44:10 MST

Hi
In addition to earlier email sent 5 mins ago,
One more thing that you did not notice that the contours labels are
overlapping on x-axis labels. I need to really increase the space between
panels which is not working here.

On Tue, Jan 8, 2013 at 10:37 AM, Waqar Younas <vickyqau@gmail.com> wrote:

> Thanks Adams.
> Now in the figure i shaded the variabilities greater than 6, i want to
> remove those contours which are not shaded and are less than 6.
> Thanks.
>
>
>
> On Tue, Jan 8, 2013 at 8:16 AM, Adam Phillips <asphilli@ucar.edu> wrote:
>
>> Hi Waqar,
>> The panels all look good to me with the exception of panel #6, where the
>> gsnLeftString is overlapping the gsnCenterString. If you do not want that,
>> set gsnLeftString = "", or decrease the font heights of the Left and Center
>> Strings.. See example 1 on the page I previously pointed you to:
>> http://www.ncl.ucar.edu/Applications/font.shtml
>> Adam
>>
>>
>> On 01/07/2013 10:32 PM, Waqar Younas wrote:
>>
>> 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
>>
>>
>> --
>> ______________________________________________________________
>> Adam Phillips asphilli@ucar.edu
>> NCAR/Climate and Global Dynamics Division (303) 497-1726
>> P.O. Box 3000
>> Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
>>
>>
>> _______________________________________________
>> 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
>

-- 
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 Tue Jan 8 11:44:26 2013

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