| Description |
Use a standard paint program like paint shop pro to edit your icons, save them in a MATLAB compatible format (bmp, png, jpeg, etc..)
Use White [RGB(255,255,255)] for areas you want white.
Use Black [RGB(0,0,0)] for areas you want black.
All other colors will be made transparent.
Example:
i = imread('mycursor.bmp');
CData = ConvertToCursor(i);
set(gcf,'Pointer','Custom','PointShapeCData',CData); |