Hey,
I have a weird error using gnuplot 6.0 patchlevel 4 on win 11. Loading predefined colormaps as palette using the maxcolor option gives the expected output only for some palettes, see example below and file attached. Can you reproduce this error and any idea why this happens?
set palette defined (0 '#251729', 1 '#382a54', 2 '#413f80', 3 '#395d9c', 4 '#357ba3', 5 '#3497a9', 6 '#3eb4ad', 7 '#60ceac', 8 '#a9e1bd')
set colormap new palette_1
set palette defined (0 '#251433', 1 '#4c1d4b', 2 '#751f58', 3 '#a11a5b', 4 '#cb1b4f', 5 '#e83f3f', 6 '#f3714d', 7 '#f69c73', 8 '#f7c6a6')
set colormap new palette_2
set palette colormap palette_1 maxcolor 3
test palette # maxcolor not applied
pause mouse
set palette colormap palette_2 maxcolor 3
test palette # maxcolor working as expected
thanks!