View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 1.72 KB File ID: #37134 Version: 1.1
image thumbnail



Deborah (view profile)


12 Jun 2012 (Updated )

positions figure windows according to input string

| Watch this File

File Information

This functions positions a figure window on screen according to an input string. There a 9 small positions and 4 larger positions available (but can easily be adjusted).
The screen positions names are derived from Latex heading/footer names.
A detailed explanation on where the positions are can be seen in the help file.

This is quite useful if you are working with a large number of open figures and need to see them all at once, or if a specific window should be raised at the same position more than once.

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
28 Jun 2012 Elad

example plz

Comment only
13 Jun 2012 Deborah

Deborah (view profile)

Thanks Jan for your suggestions, I will implement them in a future version of the function!

Comment only
12 Jun 2012 Jan Simon

Jan Simon (view profile)

A good idea.
You can omit the time-consuming STRMTACH check: On one hand FIND(STRCMP()) is much faster and supported in the future also, you can move the error handling to an OTHERWISE branch of the SWITCH list instead. Currently the comparision of the position strin g is done twice.
I'd prefer "North", "NorthEast", ... or "TopLeft", "TopCenter", ... instead of "HL", "HR", ... But the diagram in your help text is such descriptive, that your naming method is usable.
Your help text has a H1 line, is descriptive and specifies the date and the author. The units of the figure are considered.

20 Jun 2012 1.1

Updated error handling and removed unnecessary code

Contact us