Colorbar related

8 visualizaciones (últimos 30 días)
KSSV
KSSV el 27 de Ag. de 2011
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

Respuesta aceptada

Paulo Silva
Paulo Silva el 27 de Ag. de 2011
colorbar('YTickLabel',...
{'-3*10^-4','-2*10^-4','-1*10^-4','0',...
'1*10^-4','2*10^-4','3*10^-4'})
  1 comentario
KSSV
KSSV el 29 de Ag. de 2011
Thinks Paulo Silva for your reply.....

Iniciar sesión para comentar.

Más respuestas (1)

KSSV
KSSV el 29 de Ag. de 2011
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

Categorías

Más información sobre Colorbar en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by