vmagnin / forcolormap

A Fortran library for colormaps
https://vmagnin.github.io/forcolormap/
MIT License
21 stars 4 forks source link

Add check() Procedure #26

Closed gha3mi closed 8 months ago

gha3mi commented 8 months ago

The check() procedure has been added to the colormap_class, as suggested by @vmagnin at https://github.com/vmagnin/forcolormap/tree/ali-dev. Tests have also been updated. @vmagnin, please test the validity of check().

vmagnin commented 8 months ago

Thanks Ali, all tests are OK:

[100%] Project compiled successfully.
Error 1: Colormap name 'actom10' not found! 'grayC' is set by default.
Error 2: Min value (zmin=2.0000) exceeds Max value (zmax=0.0000)! zmin and zmax are swapped.
Error 3: Number of Levels (levels=256) doesn't match colormap! Levels adjusted to colormap.
Error 2: Min value (zmin=2.0000) exceeds Max value (zmax=0.0000)! zmin and zmax are swapped.
vmagnin commented 8 months ago

When merging branches, a small conflict could arise in the README.md as I have updated the CUBEHELIX URL.

gha3mi commented 8 months ago

I'm trying to resolve it locally before submitting a pull request.