Open yvonnefroehlich opened 1 year ago
This PR aims to fix the case 'nofig' in the function MS_sphere.m.
'nofig'
MS_sphere.m
Suppress the figure command, so plot can be sub-plotted.
A figure is set up if the variable nofig is unequal to 1, see lines 268-270:
nofig
1
if (nofig~=1) figure('position',[0 0 800 800]) end
So, to not set up a figure (passing 'nofig' to MS_sphere.m) the variable nofig has to be 1 not 0, see lines 198-200:
0
case 'nofig' nofig = 1 ; % <- instead of 0 iarg = iarg + 1 ;
This PR aims to fix the case
'nofig'
in the functionMS_sphere.m
.A figure is set up if the variable
nofig
is unequal to1
, see lines 268-270:So, to not set up a figure (passing
'nofig'
toMS_sphere.m
) the variablenofig
has to be1
not0
, see lines 198-200: