Incosistent behaviour of figures titles in Cody coursework

1 vue (au cours des 30 derniers jours)
Dmytro Bobkov
Dmytro Bobkov le 14 Sep 2015
I have observed an inconsistent behaviour of figure titles in Cody Coursework in visible tests: one time they are shown, another time they are not completely shown (see attached screenshot, top correct, bottom incorrect).
In particular, I call the following code three times for different data structures (i.e. NA, NB, NC) in visible tests
% some other code here for loading images etc., no graphics
figure; imshow((abs(im_ref_ch_A-periodic_A)).*10); title('Difference image for NA');
figure; imshow((abs(im_ref_ch_B-periodic_B)).*10); title('Difference image for NB');
figure; imshow((abs(im_ref_ch_C-periodic_C)).*10); title('Difference image for NC');
assert(size(im_ref_ch_A,1)==sz(1) && size(im_ref_ch_A, 2)==sz(2), 'Size is incorrect');
However, when I put double comment before each line of graphics, then their titles are shown correctly, as in here
figure; imshow((abs(im_ref_ch_A-periodic_A)).*10); title('Difference image for NA');
figure; imshow((abs(im_ref_ch_B-periodic_B)).*10); title('Difference image for NB');
figure; imshow((abs(im_ref_ch_C-periodic_C)).*10); title('Difference image for NC');
assert(size(im_ref_ch_A,1)==sz(1) && size(im_ref_ch_A, 2)==sz(2), 'Size is incorrect');
Why is it like this and why is there nothing in documentation regarding this behaviour?
Best regards,
D. Bobkov

Réponse acceptée

Santosh Kasula
Santosh Kasula le 16 Oct 2015
This looks like a bug. We are looking into this.

Plus de réponses (0)

Catégories

En savoir plus sur Feature Detection and Extraction dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by