I have created an image using the following code
smallmatrix_6partic=[0 1 0 0 0 0 ; 0 0 0 0 0 0 ; 0 1 0 0 0 0 ; 0 1 0 0 0 0; 0 0 0 1 0 0; 0 0 0 0 1 0];smallmatrix_colheading= {'A','B','C','D','E','F'}; [rows,cols]=size(smallmatrix_6partic);imagesc(smallmatrix_6partic)set(gca,'Xtick',1:rows,'XTickLabel',smallmatrix_colheading)set(gca,'Ytick',1:rows,'YTickLabel',smallmatrix_colheading)
I would slightly like to change the position of X labels ('A', 'B', 'C' etc.), by moving them to the right (say by 2-3 millimetres). Is there a proper way to calibrate this?
Best Answer