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.57 KB File ID: #23428 Version: 1.0
image thumbnail



Steve Hoelzer (view profile)


Create a figure scaled relative to screen size. It's an easy way to make non-default size figures.

| Watch this File

File Information

figuresc(w,h) creates a normal figure except that figure size is adjusted by scaling factors for width and height, w and h. Scaling factors have a range of 0.0 <= X < 1.0, and are relative to screen size.

figuresc(s) makes width and height scaling factors both equal to s.

h = figuresc(...) returns a handle to the figure.

Demo code (and fun too!)
    for x = 0.9:-0.1:0.1, figuresc(x), end

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
07 Apr 2009 Alan Brooks

How many times have you created figures and had to look up how to resize them. This removes all the thought process and let you get on with coding the interesting stuff ...

Contact us