Skip to content

Commit

Permalink
Changed PDF format to 8.5x11
Browse files Browse the repository at this point in the history
  • Loading branch information
TCallaghan2 committed Jan 25, 2025
1 parent 84bd843 commit 07a0ab1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mfiles/PlotLatLonGrid.m
Original file line number Diff line number Diff line change
Expand Up @@ -101,21 +101,21 @@ function PlotLatLonGrid(param, yrStart, yrEnd, dispNames)
% enlarge figure
if strcmp(domain, 'GB')
% if multiple montitors, otherwise [0 0 ...]
%f.OuterPosition = [1963.4 -221.4 1500 1087.2];
f.OuterPosition = [0 0 1500 1087.2];
%f.OuterPosition = [2000 -300 1000 1000];
f.OuterPosition = [0 0 750 750];
else
% f.OuterPosition = [1963.4 -221.4 1000 1087.2];
f.OuterPosition = [0 0 1000 1087.2];
f.OuterPosition = [0 0 900 900];
end

p = gcf();
p.PaperSize = [11 17];
p.PaperType = "tabloid";
p.PaperSize = [8.5 11];
p.PaperType = "usletter";
if strcmp(domain, 'GB')
p.PaperOrientation = "landscape";
else
p.PaperOrientation = "portrait";
p.PaperPosition = [.1 .1 10 16];
%p.PaperPosition = [.1 .1 10 16]; % for [11 17] PaperSize
p.PaperPosition = [.1 .1 8.4 10.9];
end
end
hold on
Expand Down

0 comments on commit 07a0ab1

Please sign in to comment.