0001
0002
0003 function hxp = xp_PlotFR2 (xp, op)
0004
0005 if nargin < 2
0006 op = struct;
0007 end
0008
0009 hxp = struct;
0010
0011 if isempty(op); op = struct; end;
0012
0013 op = struct_addDef(op,'args',{});
0014
0015 xlims = op.xlims;
0016 ylims = op.ylims;
0017
0018
0019 Na = length(xp.axis);
0020 xp.axis(Na+1).name = 'variables';
0021 xp.axis(Na+1).values = {'v'};
0022
0023
0024 data = dsMdd2ds(xp);
0025
0026
0027
0028 hxp.hcurr = dsPlotFR2(data,op.args{:},'lock_gca',true);
0029
0030 if ~isempty(xlims); xlim(xlims); end
0031 if ~isempty(ylims); ylim(ylims); end
0032
0033 end
0034
0035