필터 지우기
필터 지우기

how to change mesh colorbar to appropriate colors?

조회 수: 1 (최근 30일)
Dimitrios
Dimitrios 2014년 11월 7일
I am making a mesh which has the folowing form:
Z = varargin{1};%the values that will be meshed.
C = del2(Z);
h=mesh(Z,C,'FaceColor','interp','FaceLighting','gouraud')
camlight right
h2 = colorbar;
Using the camlight right the colors change from the original(shadowed) but the colorbar color remains if its like 'camligth right' is not used.How to shadow also the colors in in the colorbar?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by