First off, Oliver, thanks for working so hard to create this sc package; I can see that it's benefited a lot of people, and it's clearly solving a problem encountered by many.
Next, a question: I'm using imsc to plot a matrix with several NaN values, but would like to use a color scale with a maximum and minimum different from the maximum and minimum values of the data. (I'm plotting several different matrices with different value ranges, and would like to use the same color scale for all of them.) I tried simply changing the minimum and maximum using the Colormap Editor, and that changed the extents of the colorbar, but didn't change the colors of the plotted data (i.e. the plotted data are now incorrect, relative to the colorbar). Is there any easy fix for this, using your function?
Here's the code I used to plot my data:
imsc(mat3, 'jet', 'w', isnan(mat3));