[ncl-talk] Label positions panel plot
Buzan, Jonathan
jbuzan at purdue.edu
Thu Mar 3 09:46:18 MST 2022
Hi NCL-Talk,
I am having difficulty trying to position my panel label bars. The picture below shows the title of the label bar above. I am trying to make the text below the label bar. I have a code snippet below related to the panels. I tried res_L at lbLabelPosition = “bottom”, but it doesn’t seem to be working.
Cheers,
-Jonathan
Here is the snippet of code resources for the panels.
res_L = True
res_L at gsnFrame = False
res_L at gsnPanelLeft = 0.1
res_L at gsnPanelRight = 0.45
res_L at gsnPanelLabelBar = True
res_L at lbTitleOn = True ; turn on title
res_L at txFuncCode = "~"
res_L at lbTitleString = "~S~o~N~C"
res_L at lbLabelPosition = "bottom"
; res_L at txString = "Temperature"
res_R = True
res_R at gsnFrame = False
res_R at gsnPanelLeft = 0.45
res_R at gsnPanelRight = 0.9
res_R at gsnPanelLabelBar = True
res_R at lbTitleOn = True ; turn on title
res_R at txFuncCode = "~"
res_R at lbTitleString = "mm/day"
; res_R at txString = "Precipitation"
txres = True
txres at txFontHeightF = 0.03
; gsn_text_ndc(wks,"Temperature",0.1,0.45,txres)
; gsn_text_ndc(wks,"Precipitation",0.45,0.9,txres)
gsn_panel(wks,plotTemp(0:2),(/3,1/),res_L)
gsn_panel(wks,plotTemp(3:5),(/3,1/),res_R)
[cid:27E2F02F-365B-400A-8ADB-68A528025E16]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220303/cbbf678a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2022-03-03 at 17.45.53.png
Type: image/png
Size: 820405 bytes
Desc: Screen Shot 2022-03-03 at 17.45.53.png
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220303/cbbf678a/attachment-0001.png>
More information about the ncl-talk
mailing list