Change Colorbar Axis Values

Hey guys,
I'm using this following awesome File-Exchange-file but I have a tiny question.
Depending on po = 1 - plots only colored data points (filtered) or po = 2 - plots colored data points and contours (filtered) the colorbar-axis changes (it's numbers). Is it somehow possible to have the po = 1 colorbar axis even if I use po = 2?
So far I figured out, that the colorbar axis changes in the moment
[c,h] = contour(xi,yi,zif);
is executed.
Many thanks in advance, cheers Tal
EDIT:
The answer is to use:
add
colorbar; cbfreeze;
after line 120 and delete
colobar
in line 127.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

질문:

Tal
2014년 7월 8일

편집:

Tal
2014년 7월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by