From f21950c6e69cf54991685372e99a498ca6d38bb7 Mon Sep 17 00:00:00 2001 From: Gabriele Bellomia Date: Sat, 20 Aug 2022 04:41:26 +0200 Subject: [PATCH] Some improvement on `test_diverging_cmap` Stretching a bit towards edge cases... --- .test/test_diverging_cmap.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.test/test_diverging_cmap.m b/.test/test_diverging_cmap.m index 3e7dbab..4e65855 100644 --- a/.test/test_diverging_cmap.m +++ b/.test/test_diverging_cmap.m @@ -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!')