IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
92 stars 42 forks source link

hline popped an error with IRIS_20201008 version #296

Open xtang8 opened 3 years ago

xtang8 commented 3 years ago

Dear Jamir,

The following code : hfig = figure; subplot1=subplot(2,1,1); hold(subplot1,'all');

plot(test_db1,'Parent',subplot1); hline(0,'Parent',subplot1); title('Residuals'); hold on;

subplot2=subplot(2,1,2); hold(subplot2,'all');

plot(test_db2,'Parent',subplot2,'Tag','vline'); hline(0,'Parent',subplot2); title('Fit')

was running perfectly with IRIS_2015 version, however, does not work with IRIS_20201008 version.

I found the function hline was totally different from the older version. Could you help me figure out how to make it work with IRIS_20201008 version.

Thanks, Xiaobin Tang from Bank of Canada