Yearly Archives: 2009

48 relevant articles found:

Performance: scatter vs. line

In many circumstances, the line function can generate visually-identical plots as the scatter function, much faster

Categories: Handle graphics, Low risk of breaking in future versions, Memory, Stock Matlab function
Tags: , ,
4 Comments

Undocumented scatter plot behavior

The scatter plot function has an undocumented behavior when plotting more than 100 points: it returns a single unified patch object handle, rather than a patch handle for each specific point as it returns with 100 or less points.

Categories: Handle graphics, Medium risk of breaking in future versions, Stock Matlab function, Undocumented feature
Tags: , , ,
9 Comments

uicontrol side-effect: removing figure toolbar

Matlab’s built-in uicontrol function has a side-effect of removing the figure toolbar. This was undocumented until lately. This article describes the side-effect behavior and how to fix it.

Categories: Figure window, GUI, Low risk of breaking in future versions, Stock Matlab function, UI controls, Undocumented feature
Tags: , ,
Leave a comment

Undocumented mouse pointer functions

Matlab contains several well-documented functions and properties for the mouse pointer. However, some very-useful functions have remained undocumented and unsupported. This post details their usage.

Categories: Figure window, GUI, Low risk of breaking in future versions, Semi-documented function, Stock Matlab function
Tags: , ,
33 Comments

Detecting window focus events

Matlab does not have any documented method to detect window focus events (gain/loss). This article describes an undocumented way to detect such events.

Categories: Figure window, GUI, Hidden property, Java, Medium risk of breaking in future versions
Tags: , , , , ,
41 Comments

R2009b keyboard bindings

The new Matlab release R2009b includes the ability to customize keyboard bindings for the editor and Command Window. However, there are still some uses for the EditorMacro utility and its variants.

Categories: Desktop, High risk of breaking in future versions, Java
Tags: , , ,
Leave a comment

Figure toolbar customizations

Matlab’s toolbars can be customized using a combination of undocumented Matlab and Java hacks. This article describes how to customize the Matlab figure toolbar.

Categories: Figure window, GUI, Java, Medium risk of breaking in future versions
Tags: , , , ,
24 Comments

Figure toolbar components

Matlab’s toolbars can be customized using a combination of undocumented Matlab and Java hacks. This article describes how to access existing toolbar icons and how to add non-button toolbar components.

Categories: Figure window, GUI, Icons, Java, Medium risk of breaking in future versions, Semi-documented function
Tags: , , , , , ,
48 Comments

EditorMacro v2 – setting Command Window key-bindings

The EditorMacro utility was extended to support built-in Matlab Editor and Command-Window actions and key-bindings. This post describes the changes and the implementation details.

Categories: Desktop, High risk of breaking in future versions, Java, Listeners
Tags: , , ,
4 Comments

Setting listbox mouse actions

Matlab listbox uicontrol can be modified to detect mouse events for right-click context menus, dynamic tooltips etc.

Categories: GUI, Java, Medium risk of breaking in future versions, UI controls
Tags: , , , ,
34 Comments