MATLAB: How to don’t display the x values labels in heat map heatmap I don't want to display the x-values labels of the first figure (1995,1996,…,2005). Best Answer Try this: data1 = randi(9, 3);figureh1 = heatmap(data1);cdl = h1.XDisplayLabels; % Current Display Labelsh1.XDisplayLabels = repmat(' ',size(cdl,1), size(cdl,2)); % Blank Display LabelsHaving the code you used to create those figures would help. Related SolutionsMATLAB: Labels for bar plots If I understand correctly what you are asking, see: How can I add the values to the top of the bars? for one approach. MATLAB: How do i remove the printed data on the heat map How about using imshow? Related QuestionAdd label to a contour when when multiples plotsHow to create color mapRemove data labels in a heatmapHow to generate a geographical heat map? (worldwide, country-level granularity)How to display only current figureHow to display a matrix in a static text
Best Answer