You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, each MATLAB structure (one per colormap) contains 256 records or hues (.mat files available from Zenodo). Here, this is unchanged used to visualize the fast polarization direction (phi) with a value range of -90:1:90. As the colormap is not adjusted to fit to this different value range, the color-value assignment is wrong. Also, the related figures shown in the README are wrong.
One option is to use a MATLAB file exchange function (or https://github.com/chadagreene/crameri), as it is done in PR #4. However, this function is not updated promptly after a new release of the SCM. Of course, users can build the required mat structure by themselves (I do this). Despite this, I am currently thinking about finding another solution (thus I closed PR #4).
Example (using this function as provided, without any adjustments to make the plot look nice)
The text was updated successfully, but these errors were encountered:
First reported by @yvonnefroehlich in PR #4.
This issue focuses on an error in the function
SWS_Analysis_BASIC_stereoplot.m
regarding setting up the Scientific colour maps by F. Crameri.By default, each MATLAB structure (one per colormap) contains 256 records or hues (
.mat
files available from Zenodo). Here, this is unchanged used to visualize the fast polarization direction (phi) with a value range of -90:1:90. As the colormap is not adjusted to fit to this different value range, the color-value assignment is wrong. Also, the related figures shown in the README are wrong.One option is to use a MATLAB file exchange function (or https://github.com/chadagreene/crameri), as it is done in PR #4. However, this function is not updated promptly after a new release of the SCM. Of course, users can build the required mat structure by themselves (I do this). Despite this, I am currently thinking about finding another solution (thus I closed PR #4).
Example (using this function as provided, without any adjustments to make the plot look nice)

The text was updated successfully, but these errors were encountered: