Colorbar related

조회 수: 1 (최근 30일)
KSSV
KSSV 2011년 8월 27일
Hi I have drawn some plots and added colorbar to it...The colorbar values are 10^-4*[-3 -2 -1 0 1 2 3]. I want to set the colorbar such that the values which lie between the intervals should be displayed. And is there any way to get the number in the way as follows [-3*10^-4 -2*10^-4 -1*10^-4 0 1*10^-4 2*10^-4 1*10^-4] on the colorbar....I tried in many ways but could not succeed. Thanks in advance

채택된 답변

Paulo Silva
Paulo Silva 2011년 8월 27일
colorbar('YTickLabel',...
{'-3*10^-4','-2*10^-4','-1*10^-4','0',...
'1*10^-4','2*10^-4','3*10^-4'})
  댓글 수: 1
KSSV
KSSV 2011년 8월 29일
Thinks Paulo Silva for your reply.....

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

KSSV
KSSV 2011년 8월 29일
Hi I have seen a useful discussion on colorbar related on the following thread.... http://www.mathworks.com/matlabcentral/newsreader/view_thread/142199 Thanks to Scott for the useful reply... Sreenu

카테고리

Help CenterFile Exchange에서 Colorbar에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by