Skip to content

Commit

Permalink
better colormap positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Julie-Fabre committed Nov 5, 2023
1 parent b1db422 commit 1b4a37a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/uglyPlot.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
y_cot = cot(x); % Cotangent values

% Create a new figure
figure(2); clf;
hFig = figure(2); clf;

% First subplot: sine curve
subplot(2, 2, 1);
Expand Down Expand Up @@ -61,3 +61,6 @@
c2.Title.String = 'Zscore';

prettify_plot;


set(hFig, 'SizeChangedFcn', @(src, evnt)wrapTitle(hFig));

0 comments on commit 1b4a37a

Please sign in to comment.