MATLAB: How to change the labels of the bar3 plot label;MATLAB I would like to change the numbers appearing on the axes of the bar3 plots. How do can I do this? Best Answer It is possible to do this using the 'xticklabel', 'yticklabel' and 'zticklabel' properties of the bar3 plot. The code to do this would look like this.Y = cool(7);h = bar3(Y,'detached');hh = get(h(3),'parent');set(hh,'yticklabel',[-1 -2 -3 0 1 2 3]); Related SolutionsMATLAB: How to create 3D bar plot shifted in the x-axis and also the y-axis in MATLAB 7.6 (R2008a) This attached MATLAB file plots the 3D bar plot that is shifted in x-axis as well as the y-axis.The resulting bar plot looks like this: MATLAB: How to overlay bar3 plots Something like this?x = rand(1,10);y = rand(1,10);figureb1 = bar3(x, 'r');hold on;b2 = bar3(y, 'b');b1.FaceAlpha = 0.5;b2.FaceAlpha = 0.5; Related QuestionHow to label the bars in the bar graph in MATLABTwo Bar Plots on one graph, with the bars next to each other, with horizontal axis showing text
Best Answer