function out = getXY( this , varargin)
% %GETXY Summary of this function goes here
% %   Detailed explanation goes here

%   Copyright 2014-2020 The MathWorks, Inc.

forceGetDataFromSLA = false;
out = [];
if nargin>1
    forceGetDataFromSLA = varargin{1};
end
sla = this.getSLA();
if forceGetDataFromSLA
    out = sla.getXY;
end
if isempty(out) || ~forceGetDataFromSLA 
    hfig = ancestor(sla,'Figure');
    tsBlk = hfig.UserData.Specification.Block;
    out = tsBlk.getSimDataForLine(this);    
end
end
