Skip to content

Commit 7f73166

Browse files
authored
Merge pull request #986 from xylar/fix-ohc-range
Fix colorbars on OHC and BSF difference plots
2 parents d98b448 + 50f0afe commit 7f73166

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

mpas_analysis/default.cfg

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@ normTypeDifference = linear
14361436
# A dictionary with keywords for the norm
14371437
normArgsDifference = {'vmin': -300., 'vmax': 300.}
14381438
# place the ticks automatically by default
1439-
# colorbarTicksDifference = numpy.linspace(-2., 2., 9
1439+
# colorbarTicksDifference = numpy.linspace(-2., 2., 9)
14401440

14411441
# Months or seasons to plot (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct,
14421442
# Nov, Dec, JFM, AMJ, JAS, OND, ANN)
@@ -1473,12 +1473,10 @@ colormapNameDifference = cmo.balance
14731473
# whether the colormap is indexed or continuous
14741474
colormapTypeDifference = continuous
14751475
# the type of norm used in the colormap
1476-
normTypeDifference = symLog
1476+
normTypeDifference = linear
14771477
# A dictionary with keywords for the norm
1478-
normArgsDifference = {'linthresh': 0.1, 'linscale': 0.5, 'vmin': -10.,
1479-
'vmax': 10.}
1480-
colorbarTicksDifference = [-10., -3., -1., -0.3, -0.1, 0., 0.1, 0.3, 1., 3.,
1481-
10.]
1478+
normArgsDifference = {'vmin': -10., 'vmax': 10.}
1479+
# colorbarTicksDifference = numpy.linspace(-10., 10., 9)
14821480

14831481
# Months or seasons to plot (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct,
14841482
# Nov, Dec, JFM, AMJ, JAS, OND, ANN)
@@ -1509,9 +1507,9 @@ colormapNameDifference = balance
15091507
# whether the colormap is indexed or continuous
15101508
colormapTypeDifference = indexed
15111509
# color indices into colormapName for filled contours
1512-
colormapIndicesDifference = numpy.array(numpy.linspace(0, 255, 9), int)
1510+
colormapIndicesDifference = numpy.array(numpy.linspace(0, 255, 14), int)
15131511
# colormap levels/values for contour boundaries
1514-
colorbarLevelsDifference = numpy.linspace(-2., 2., 10)
1512+
colorbarLevelsDifference = numpy.linspace(-3., 3., 13)
15151513

15161514
# Months or seasons to plot (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct,
15171515
# Nov, Dec, JFM, AMJ, JAS, OND, ANN)

0 commit comments

Comments
 (0)