colorbar with numbers/values not visible
Afficher commentaires plus anciens
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
1 commentaire
Mary Caroline
le 3 Mar 2014
Réponses (0)
Catégories
En savoir plus sur Color and Styling dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!