From f053c058e40c9673ec9576c5ca7f928dcd6ad763 Mon Sep 17 00:00:00 2001 From: Stefan Mahr Date: Thu, 13 Jun 2013 17:13:06 +0200 Subject: [PATCH] matlab: use xticklabel with num2str for octave compatibility --- matlab/plotFF3D.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/plotFF3D.m b/matlab/plotFF3D.m index fa835fc..c155af8 100644 --- a/matlab/plotFF3D.m +++ b/matlab/plotFF3D.m @@ -70,7 +70,7 @@ axis equal axis off if ~isempty(logscale) 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 colorbar; end