Skip to content

Commit

Permalink
Bug on the calculation of the elements of AX. Fixed by replacing p (w…
Browse files Browse the repository at this point in the history
…hich can include the intercept) with numel(AX).
  • Loading branch information
DomenicoPerrottaJRC committed Nov 12, 2023
1 parent a809a5d commit 55206fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphics/yXplot.m
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@
% Display the initial gplotmatrix
[H,AX,BigAx] = gplotmatrix(Xsel,y,group,clr(unigrouplist),charsym,siz,doleg,[],nameX,namey);

for iii=1:p
for iii=1:numel(AX)
set(AX(iii).XLabel,'Interpreter','none');
set(AX(iii).YLabel,'Interpreter','none');
end
Expand Down

0 comments on commit 55206fc

Please sign in to comment.