diff multithreshold 1.46/plotProfile.m @ 38:c2204b18f4a2 tip

End nov big change
author Ray Meddis <rmeddis@essex.ac.uk>
date Mon, 28 Nov 2011 13:34:28 +0000
parents 3ea506487b3b
children
line wrap: on
line diff
--- a/multithreshold 1.46/plotProfile.m	Thu Oct 06 15:43:20 2011 +0100
+++ b/multithreshold 1.46/plotProfile.m	Mon Nov 28 13:34:28 2011 +0000
@@ -4,7 +4,7 @@
 
 %% plot profile
 if nargin<1
-    fgName = myFile;
+    fgName = 'profile_JSAN_R';
     bgName = '';
 end
 
@@ -68,13 +68,14 @@
     freq=foreground.MaskerRatio'*foreground.IFMCFreq(BFno);
     subplot(2,1,2)
     semilogx(freq,foreground.IFMCs(BFno,:),'r','lineWidth',3), hold on
-    ylim([0 100])
+    ylim([-20 100])
     xlim([100 12000])
 %     grid on
 end
 xlabel('frequency (Hz)')
 ylabel('masker dB / probe dB')
 set(gca,'XTick',foreground.IFMCFreq)
+set(gca,'Ytick', [-20 0 50 100])
 
 if ~isempty(bgName)
     for BFno=1:length(background.IFMCFreq)