colorbar with numbers/values not visible
이전 댓글 표시
Hello everyone,
Slight problem I created this GUI with surfaces being plotted on my panel. Everything worked fine. I changed couple of details, and now the numbers which indicates the range of the colour bar are in white ( checked by changing the background colour to black), which means non visible on all of the plots. For info, I created a function which plots the surface plot:
function [] = surf_plot(axes_name, x,y,z,x_name,y_name,title_name )
surf(axes_name,x,y,z,'EdgeColor', 'None', 'facecolor', 'interp');
view(axes_name,2);
xlabel(axes_name,x_name);
ylabel(axes_name,y_name);
datacursormode on;
caxis(axes_name,[60,105]);
colorbar1 = colorbar('peer',axes_name ,'EastOutside', 'Box', 'on');
title(axes_name ,title_name);
end
Does anyone knows the command to set the frame, ticks and number of the color bar back to black? ( as I have no clue how I changed it in the first place...)
Cheers
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Color and Styling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!