Truly, a very good contribution.
Using plain View4D(vol) without any other arguments works well but when I change the size of vol (in this example, from t = 120 to 744), I get a swag of warnings like this:-
"Warning: line XData length (120) and YData length (744) must be equal
> In openfig at 135
In gui_mainfcn>local_openfig at 286
In gui_mainfcn at 159
In View4D at 86".
Even if I clear everything beforehand I still get the warnings. If I exit & re-enter into Matlab, the problem goes away - until I again resize VOL. Is there something I need to fully clear somewhere?