I have a .fig file with 9 subplots, arranged 3 by 3. Now I want to add labels with I have written in plotlabels(i) to subplot i, on point (xcoordinates(i),0.01). I try this
plotlabels = ['A','B','C','D','E','F','G','H','I'];
xcoordinates = [30,1000,1000,1000,1000,1000,1000,1000,1000];
fig = openfig('degreedistribution.fig');
for i = drange(1,9)
subplot(3,3,i);
text(xcoordinates(i),0.01,plotlabels(i),'FontWeight','bold'); hold on
end
The figure is returned with subplot 1, 4 and 7 (the left column) blanc. In the other subplots, the proper label is added in the right location. I have checked that the locations of the labels in subplot 1, 4 and 7 are compatible with the plots. So what is happening?