Revision 495
(checked in by cbc, 12 years ago)
|
Initial import of Stark code.
|
Line | |
---|
1 |
% |
---|
2 |
% WYGIWYS What you get is what you see |
---|
3 |
% |
---|
4 |
% WYGIWYS This function is called with no args and merely |
---|
5 |
% changes the size of the figure printed to equal |
---|
6 |
% the size of the figure that you see, |
---|
7 |
% according to the papersize attribute. |
---|
8 |
% |
---|
9 |
% Calls: none |
---|
10 |
% |
---|
11 |
% Catherine R. Edwards, NRL |
---|
12 |
|
---|
13 |
function wygiwys |
---|
14 |
|
---|
15 |
set(gcf,'paperpositionmode','auto'); |
---|
16 |
unis = get(gcf,'units'); |
---|
17 |
ppos = get(gcf,'paperposition'); |
---|
18 |
set(gcf,'units',get(gcf,'paperunits')); |
---|
19 |
pos = get(gcf,'position'); |
---|
20 |
ppos(3:4) = pos(3:4); |
---|
21 |
set(gcf,'paperposition',ppos); |
---|
22 |
set(gcf,'units',unis); |
---|