No License

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

» Watch video

Highlights from

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 4.36 KB File ID: #9707 Version: 1.0
image thumbnail



Jerome Briot (view profile)


20 Jan 2006 (Updated )

Modification of the Matlab UISTACK function

| Watch this File

File Information

UISTACK2 solves a problem reported in the MATLAB newsgroup comp.soft-sys.matlab about UISTACK behavior. This problem faced in R12.1 version, still occur in R14SP3.

See "[UISTACK] Problem with patch and line objects." in the newsgroup.

Exemple :

    plot([1 5],[2 7]);
    p=patch([2 4 4 2],[3 3 4 4],'r');
    % the red patch SHOULD be placed under the blue line
    title('UISTACK behavior')

    plot([1 5],[2 7]);
    p=patch([2 4 4 2],[3 3 4 4],'r');
    % the red patch IS placed under the blue line
    title('UISTACK2 behavior')

UISTACK2 is basically based on the original UISTACK function (by Loren Dean from TMW). Its use differs by the add of an "undo" feature.

Type "help uistack2" at the command prompt for more informations


Please test this contribution, and send feedbacks about the Matlab version you use. Send e-mail directly to the author (don't use the "User Review" section).

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
21 Feb 2006

Ver 1.1 : bug fixed when "up/down" arguments are used with multiple handles H.

Contact us