Default resource settings for PyNGL graphics

The resources listed below are ones whose defaults are either set differently in PyNGL than what is indicated in the NCL resource documentation, or ones whose default values are changed based on other resources set by the user.

The special "ngl" resources are listed in a separate table.

Resource name Value
cnInfoLabelOn This resource is set to False if cnFillOn is set to True by the user.
cnMonoFillPattern This resource is set to False if cnFillPatterns is set by the user.
cnMonoFillScale This resource is set to False if cnFillScales is set by the user.
cnMonoLevelFlag This resource is set to False if cnLevelFlags is set by the user.
cnMonoLineColor This resource is set to False if cnLineColors is set by the user.
cnMonoLineDashPattern This resource is set to False if cnLineDashPatterns is set by the user.
cnMonoLineLabelFontColor This resource is set to False if cnLineLabelFontColors is set by the user.
cnMonoLineThickness This resource is set to False if cnLineThicknesses is set by the user.
lbAutoManage This resource is set to False if lbLabelFontHeightF is set (otherwise, lbLabelFontHeightF won't have any effect).
lbLabelAutoStride This resource is set to True, and would have been the default for NCL as well if it hadn't been added so late to the list.well.
lbMonoFillScale This resource is set to False if lbFillScales is set by the user.
lbPerimOn Most people do not like the labelbar perimeter, so we set it to False.
lgAutoManage This resource is set to False if lgLabelFontHeightF is set (otherwise, lgLabelFontHeightF won't have any effect).
lgMonoItemType This resource is set to False if lgItemTypes is set by the user.
lgMonoLineDashSegLen This resource is set to False if lgLineDashSegLens is set by the user.
lgMonoLineLabelFontHeight This resource is set to False if lgLineLabelFontHeights is set by the user.
lgMonoLineThickness This resource is set to False if lgLineThicknesses is set by the user.
lgMonoMarkerSize This resource is set to False if lgMarkerSizes is set by the user.
lgMonoMarkerThickness This resource is set to False if lgMarkerThicknesses is set by the user.
mpMonoFillPattern This resource is set to False if mpFillPatterns is set by the user.
mpMonoFillScale This resource is set to False if mpMonoFillScale is set by the user.
pmLabelBarDisplayMode This resource is set to True if cnFillOn is set to True for contour plots, or if one of vcMonoLineArrowColor, vcMonoFillArrowFillColor, vcMonoFillArrowEdgeColor, vcMonoWindBarbColor is set to False for vector plots.
pmLabelBarSide This resource is set to "Bottom" if lbOrientation is set to "Horizontal", and to "Right" if lbOrientation is set to "Vertical."
pmTickMarkDisplayMode This resource is set to "Always" for map plots.
stMonoLineColor This resource is set to False if stLevelColors is set by the user.
wkOrientation This resource, which applies only to PS and PDF files, is determined dynamically depending on which orientation of the plot(s) give the best fit on the page. If nglPaperOrientation, is set, however, it overrides the setting of wkOrientation.

The differences between the special "ngl" resources and the corresponding "gsn" resources in NCL are listed below.

Resource name Value
nglMaximize (gsnMaximize) The nglMaximize resource defaults to True in PyNGL, whereas it defaults to False in the gsn scripts. There's a long history behind this, but suffice it to say we would have made it default to True for the gsn scripts if the capability had been available to us.
nglScale (gsnScale) The nglScale resource defaults to True in PyNGL, whereas it defaults to False in the gsn scripts.
nglSpreadColors (gsnSpreadColors) The nglSpreadColors resource defaults to True in PyNGL, whereas it defaults to False in the gsn scripts. Similarly to the nglMaximize resource, we probably would have made it default to True for the gsn scripts, since this seems to be the more popular choice.