I am using BinaryOccupancyGrid command in Matlab for plotting, it just plots in black and white, since its binary, I was wondering how can I change it to a different color. I try colormap command, but unfortunately it doesn't work.
since it is using robotics toolbox, binaryoccupancygrid , at first i define a map, i use the real-world xy coordinates, then fill the maps wile robot is moving, in order to plot it, i can only use show(map) command as it has been recomended in matlab. i cant use imshow or regular plot command, thats why i cant change the color