Figure Positioning Tool: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
;[[File: Pos.m]] | |||
;Description: A tool to facilitate positioning of figures on the screen. | ;Description: A tool to facilitate positioning of figures on the screen. | ||
Line 4: | Line 6: | ||
''set(1,'position',[1400 530 560 420]);'' | ''set(1,'position',[1400 530 560 420]);'' | ||
to your clipboard. Next, paste this line after the figure(''fignr''); command in your m-file (use CTRL-V). The next time you run the m-file, the figure will be positioned at the desired location. | to your clipboard. Next, paste this line after the figure(''fignr''); command in your m-file (use CTRL-V). The next time you run the m-file, the figure will be positioned at the desired location. | ||
;Author: Rob Hoogendijk | ;Author: Rob Hoogendijk |
Revision as of 15:42, 2 May 2011
- Description
- A tool to facilitate positioning of figures on the screen.
- Usage
- Manually position the figure with number fignr at a desired location and adjust the size if necessary. Run the function pos(fignr) in the command prompt of matlab. This will copy a command similar to
set(1,'position',[1400 530 560 420]);
to your clipboard. Next, paste this line after the figure(fignr); command in your m-file (use CTRL-V). The next time you run the m-file, the figure will be positioned at the desired location.
- Author
- Rob Hoogendijk