I have this weird bug on Octave that happens sometimes when trying to plot some results:
failure: out of memory or dimension too large for Octave's index type
__axis_limits__:56 (/usr/share/octave/4.2.1/m/plot/appearance/private/__axis_limits__.m)
xlim:54 (/usr/share/octave/4.2.1/m/plot/appearance/xlim.m)
SimVaryPlot:28 (/home/travis/build/neuropoly/qMRLab/Addons/SimVary/SimVaryPlot.m)
qmt_spgr_batch:133 (/tmp/oct-ImBZL4/qmt_spgr_demo/qmt_spgr_batch.m)
BatchExample_test>test_batch:37 (/home/travis/build/neuropoly/qMRLab/Test/MoxUnitCompatible/BatchExample_test.m)
This commit solves the issue (i.e. just removing cla / hold on)
Note that Matlab does not crash.
I think Octave crashed when it receives too many instructions for the plots. Am I right?
Many thanks