Commit 41a3b377 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

changed surf to accept parent and not open new window

parent 2b20134d
...@@ -815,8 +815,10 @@ classdef itaHRTF < itaAudio ...@@ -815,8 +815,10 @@ classdef itaHRTF < itaAudio
idxF = this.freq2index(sArgs.freq); idxF = this.freq2index(sArgs.freq);
position = get(0,'ScreenSize'); if ~(~isempty(unused) && find(strcmp(unused,'parent')))
figure('Position',[10 50 position(3:4)*0.85]); position = get(0,'ScreenSize');
figure('Position',[10 50 position(3:4)*0.85]);
end
if sArgs.log if sArgs.log
freqData_dB = this.getEar(sArgs.earSide).freqData_dB; freqData_dB = this.getEar(sArgs.earSide).freqData_dB;
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment