Skip to content

Commit

Permalink
Some improvement on test_diverging_cmap
Browse files Browse the repository at this point in the history
Stretching a bit towards edge cases...
  • Loading branch information
beddalumia committed Aug 20, 2022
1 parent 7b63fb1 commit f21950c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .test/test_diverging_cmap.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ function build_diverging_colormaps()
[X,Y,Z] = peaks(50);
surf(X,Y,Z); colormap(mapN);

% Near colors
diverging_cmap('pyplot1','matlab1');
diverging_cmap('g','y');

% Extreme case
diverging_cmap('w','k');

close(gcf)

disp('>> All good!')
Expand Down

0 comments on commit f21950c

Please sign in to comment.