Open kerautret opened 6 years ago
Dear @shruti51, I started the review and I have the following requests:
1) Actually, your code take a long time to be executed and required to change parameters in the code for each sub-figure. Could you please modify your scripts demo_fig2_and_fig3.m
and demo_fig4.m
with loops on the status
and rho
parameters, and replace the figure drawing by a saving in order to generate all sub-images without human intervention
2) Moreover, could you separate figures 2 and 3? I know that this will duplicate code but it will be more reproducible to do each figure in a separated script.
Thanks!
@shruti51, I have an error and a warning at the end of execution of demo_fig4.m
.
The warning message:
Warning: Ignoring extra legend entries.
> In legend>set_children_and_strings (line 646)
In legend>make_legend (line 316)
In legend (line 259)
In demo_fig4 (line 251)
The error message:
Index exceeds matrix dimensions.
Error in demo_fig4 (line 271)
plot(0.1:0.05:0.5,(1-(succ(:,7)/k)),'-.k*')
I suppose (but I'm not sure) that this is due to the lines 218-219, because now succ
is smaller than the commented line:
% succ=[succ; [succ_BSBL_EM succ_BSBL_BO succ_JTSVB succ_JSVB succ_LTSVB succ_LSVB succ_StTSVB succ_StSVB]]
succ=[succ; [succ_JTSVB succ_JSVB succ_LTSVB succ_LSVB succ_StTSVB succ_StSVB]]
Please could you fix that (and take into account the previous comment)?
Thanks!
Thank you for your comments. I have made all the necessary changes and uploaded updated files.
end
Hi @shruti51, thanks for your changes! Could you just:
Okay. Do you want me to save the figures to say, .png file? For example, should I save as 'Fig2_rho=0.png' for the first figure of Fig.2?
Yes, in PNG or as Matlab figure or both, as you prefer with a naming like you propose.
I have updated the code of demo_fig.2, demo_fig.3 and demo_fig.4 as per your suggestions.
Thanks! It works but for script demo_fig4.m
, the same figure is saved two times for RelativeReconstructionError and FailureRate. Could you fix this?
I apologize for that minute bug. I have fixed it now.
General info
Reviewer feedback
Details Results