I have a jet colorbar appearing with my figure. I want to set the 'YTickLabels' at specified RGB values of the colorbar (i.e) at the points that bears the color with RGB value [0.3333 1 0.6667] in the colorbar i need to be named as 'A'.
You will have to determine the y-values that correspond to the labels you want. For this, you should understand the different methods of colormapping (direct vs.scaled ) and the axesCLim property. Here are links to some of the relevant documentation to help you get started: