What steps will reproduce the problem?
1. ge_image_sc(...,,'cMap',xxx)
2.
3.
What is the expected output? What do you see instead?
Matlab crashes at line 146:
eval(['data3 = ind2rgb(X, ' cMap '(256));']);
What version of the product are you using? On what operating system?
latest version (41), Windows XP
Please provide any additional information below:
Current code tries to create a colorbar using
colormap(cMap(256)), which works for standard
colormap (e.g. 'jet') but not for custom colormap.
Suggested solution: create a function which returns
a variableof size (256,3) containing colormap information
Original issue reported on code.google.com by jamieeq...@gmail.com on 22 Mar 2010 at 2:58
Original issue reported on code.google.com by
jamieeq...@gmail.com
on 22 Mar 2010 at 2:58