Code Directory
 Visual Basic & VB.NET
New Code
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
MCU 8051 IDE 1.4.7
WinPoker 2.02
Ad Juggler 3.0
STDF file reader 1.0
WebKit2.NET 0.10
Simple IP Calculator sub/sup networking 0.0.4
Beremiz 1.0
latex2png4java 1.0
RS485/MODBUS Communication with JLD416PVA Power Meter 1.0
merchant-php for Credit Card Processing 1.0.4
ICPos - Point of sale script 1.1
DBTeam CRM 1.0
Neuro-Fuzzy and Soft Computing 1.0
Autopilot News Portal Script 1.0.2
CardCheck COM DLL for Credit Card Processing 1.1
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers 1.0
File ID: 86084

UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers 1.0
Download UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 61.4 KB
Downloads: 1
Submit Rating:
UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers 1.0 Description
UISPLITPANE splits the specified container(s) (figure, panel or frame, referenced by handle(s) hParent) into two distinct panes (panels) separated by a movable divider. If no hParent container is specified, then the current figure (gcf) is assumed. Matlab components may freely be added to each of the panes. Pane sizes may be modified by dragging or programmatically repositioning the movable divider.

UISPLITPANE returns the handles to the left/bottom sub-container h1, right/top sub-container h2, and the split-pane divider hDivider. If a vector of several hParents was specified, then h1,h2 & hDivider will be corresponding vectors in the containing hParents. If the hParents are found to be non-unique, then the returned handles will correspond to the unique sorted vector of hParents, so that no hParent will be split more than once.

The UISPLITPANE divider can be dragged to either side, up to the specified DividerMinLocation to DividerMaxLocation property values (defaults: 0.1 and 0.9 respectively, meaning between 10-90% of range). In Matlab 7+, additional one-click buttons are added to the divider, which enable easy flushing of the divider to either side, regardless of DividerMinLocation & DividerMaxLocation property values.

Several case-insensitive properties may be specified as P-V pairs:
- 'Orientation': 'horizontal' (default) or 'vertical'
- 'Parent': Handle(s) of containing figure/panel/frame
- 'DividerWidth': Divider width (1-25 [pixels], default=5)
- 'DividerColor': Divider color (default=figure background color)
- 'DividerLocation': Divider normalized initial location (.001-.999, default=0.5)
- 'DividerMinLocation': Normalized minimal left/bottom pane size (0-1, default=0.1)
- 'DividerMaxLocation': Normalized maximal left/bottom pane size (0-1, default=0.9)

hDivider is a standard Matlab object handle possessing all these additional properties. All these properties are gettable/settable via the hDivider handle, except for the 'Orientation' & 'Parent' properties which become read-only after the UISPLITPANE is constructed. hDivider also exposes the following read-only properties:
- 'LeftOrBottomPaneHandle': h1 value returned by this function
- 'RightOrTopPaneHandle': h2 value returned by this function
- 'DividerHandle': the HG container handle (a numeric value)
- 'JavaComponent': handle to the underlying java divider obj
- 'ContainerParentHandle': handle to hParent container
Note: this is important in Matlab 6 which does
^^^^ not allow hierarchical UI containers
- 'ContainerParentVarName': hParent variable name if available

hax1=axes('Parent',hUp); plot(t,sin(t));
hax2=axes('parent',hLeft); plot(t,cos(t));
hax3=axes('parent',hRight); plot(t,tan(t));
hDiv1.DividerLocation = 0.75; % one way to modify divider...
set(hDiv2,'DividerColor','red'); % ...and this is another way...

Bugs and suggestions:
Please send to Yair Altman (altmany at gmail dot com)

This code heavily relies on undocumented and unsupported Matlab functionality. It works on Matlab 6+, but use at your own risk!

License: Shareware

Related: dividermaxlocation, maximal, default, minimal, dividerminlocation, normalized, Standard, Object, readonly, gettablesettable, handle, possessing, Location, dividerwidth

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 61.4 KB

Downloads: 1

More Similar Code

Implementation of isplit, a function that splits iterators into two equal ones, which return similar values, but are exact copies of one another.

To extract data from a matlab figure (.fig) files generate using version 7 or later. It can be used for both 2D and 3D plots

A script evaluating PSNR metric of two YUV420 frames
usage: filename1.yuv filename2.yuv frame_width frame_height

Alternatively if filename1 contains width and height in the form file-1200x1600.yuv,
the script will...

The Alphabetical Navigation Bar Java Display Tag Library, <nav:alphanavbar:*>, creates an alphabetic navigation bar, by slicing and dicing string data stored in a java.util.List object into 26 alphabetically sub list.

uisplitter divides a container into two sub-containers with a movable splitter. The container to split can be either a figure or a uipanel with no children. Depending on orientation, the splitter is either a vertical bar that separates a left and...

Python script to figure out how to best fit a collection of data into a container (such as a DVD) while avoiding to waste free space.

Split/Merge Matlab figure using a reference to the figures.
It can be given as a list of paths to one or more *.fig file, or as a list of opened figure handles.

Splitting figure takes a copy of each axes from a figure (or a list of...

This is a function to iterate over a container and its elements that checks for recursive traps. The condition for descending into elements is highly configurable (a list of type() results, or a callable). Spin-offs: a function to check for...

This is a layout manager for axes and controls in a MATLAB figure, designed for graphical user interfaces in which, during resizing of the figure, some controls (e.g. buttons) are to remain the same size while others (e.g. axes, text fields, list...

A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.

User Review for UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers
- required fields

Please enter text on the image