Figure Positioning Tool: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Matlab tools|Back to Matlab Tools]] | [[Matlab tools|Back to Matlab Tools]] | ||
;Files: | |||
Note: Wikipedia automatically changes the first letter of a filename to uppercase. To avoid warnings in Matlab, save the file in lowercase. | |||
;[[File: Pos.m]] | ;[[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. | ||
Usage: pos(figure) or pos figure | |||
example: "pos(3)" or "pos 3" returns the message | |||
Clipboard contains: set(3,'position',[1717 532 560 420]); | |||
Paste this (CTRL-V) after your figure(3); command in your m-file. | |||
The next time you run the m-file, the figure will return to this position/size | |||
Inputs: figure number (takes current figure if called without argument) | |||
Outputs: stores a command on the clipboard | |||
;Author: Rob Hoogendijk | ;Author: Rob Hoogendijk |
Latest revision as of 13:34, 15 October 2013
- Files
Note: Wikipedia automatically changes the first letter of a filename to uppercase. To avoid warnings in Matlab, save the file in lowercase.
- Description
- A tool to facilitate positioning of figures on the screen.
Usage: pos(figure) or pos figure example: "pos(3)" or "pos 3" returns the message Clipboard contains: set(3,'position',[1717 532 560 420]); Paste this (CTRL-V) after your figure(3); command in your m-file. The next time you run the m-file, the figure will return to this position/size Inputs: figure number (takes current figure if called without argument) Outputs: stores a command on the clipboard
- Author
- Rob Hoogendijk