matlab: use xticklabel with num2str for octave compatibility

pull/7/head
Stefan Mahr 2013-06-13 17:13:06 +02:00
parent c7f09b42c3
commit f053c058e4
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ axis equal
axis off axis off
if ~isempty(logscale) if ~isempty(logscale)
colorbar('YTick', linspace(0,max(E_far(:)),9), ... colorbar('YTick', linspace(0,max(E_far(:)),9), ...
'YTickLabel',linspace(logscale, 10*log10(nf2ff.Dmax(freq_index)),9)); 'YTickLabel',num2str(linspace(logscale, 10*log10(nf2ff.Dmax(freq_index)),9)'));
else else
colorbar; colorbar;
end end