Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbegeman committed Oct 1, 2024
1 parent b8cd032 commit accf5df
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/developers_guide/framework/visualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,13 @@ colormap).

The `colorbar_limits` are the lower and upper bound of the colorbar range.

There are also two optional config options used to set the colors on either end of the colormap:

```cfg
# [optional] colormap set_under and set_over options
under_color = k
over_color = orange
```
### plotting from lat/lon grids

You can use {py:func}`polaris.viz.plot_global_lat_lon_field()` to plot a field
Expand Down
4 changes: 4 additions & 0 deletions docs/developers_guide/ocean/tasks/correlated_tracers_2d.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ each resolution. The colormap is controlled by these options:
# colormap
colormap_name = viridis
# [optional] colormap set_under and set_over options
under_color = k
over_color = orange
# the type of norm used in the colormap
norm_type = linear
Expand Down
4 changes: 4 additions & 0 deletions docs/developers_guide/ocean/tasks/divergent_2d.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ each resolution. The colormap is controlled by these options:
# colormap
colormap_name = viridis
# [optional] colormap set_under and set_over options
under_color = k
over_color = orange
# the type of norm used in the colormap
norm_type = linear
Expand Down
4 changes: 4 additions & 0 deletions docs/developers_guide/ocean/tasks/nondivergent_2d.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ each resolution. The colormap is controlled by these options:
# colormap
colormap_name = viridis
# [optional] colormap set_under and set_over options
under_color = k
over_color = orange
# the type of norm used in the colormap
norm_type = linear
Expand Down
4 changes: 4 additions & 0 deletions docs/developers_guide/ocean/tasks/rotation_2d.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ each resolution. The colormap is controlled by these options:
# colormap
colormap_name = viridis
# [optional] colormap set_under and set_over options
under_color = k
over_color = orange
# the type of norm used in the colormap
norm_type = linear
Expand Down
1 change: 1 addition & 0 deletions polaris/ocean/tasks/sphere_transport/sphere_transport.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ slotted_cylinders_amplitude = 1.0
# colormap
colormap_name = viridis

# [optional] colormap set_under and set_over options
under_color = k
over_color = orange

Expand Down

0 comments on commit accf5df

Please sign in to comment.