Category Archives: Handle graphics

80 relevant articles found:

Customizing contour plots

Contour labels, lines and fill patches can easily be customized in Matlab HG2.

Categories: Handle graphics, Hidden property, High risk of breaking in future versions, Stock Matlab function
Tags: , , , ,
8 Comments

Adding dynamic properties to graphic handles

It is easy and very useful to attach dynamic properties to Matlab graphics objects in run-time.

Categories: GUI, Handle graphics, High risk of breaking in future versions, Stock Matlab function, UI controls, Undocumented feature, Undocumented function
Tags: , , , , , ,
4 Comments

Callback functions performance

Using anonymous functions in Matlab callbacks can be very painful for performance. Today’s article explains how this can be avoided.

Categories: GUI, Handle graphics, Low risk of breaking in future versions
Tags: , , , , , ,
11 Comments

Using linkaxes vs. linkprop

linkaxes has a built-in limitation, so using linkprop may sometimes be beneficial.

Categories: Handle graphics, Hidden property, Listeners, Low risk of breaking in future versions, Stock Matlab function, Undocumented feature
Tags: , , , ,
5 Comments

Persisting transparent colors in HG2

We can set semi- and fully-transparent colors in HG2 for multiple graphic objects, but making these settings stick is non-trivial.

Categories: Handle graphics, Low risk of breaking in future versions, Undocumented feature
Tags: , , ,
2 Comments

Undocumented HG2 graphics events

Matlab’s new HG2 graphics engine includes many new undocumented events that could be used in various ways.

Categories: Handle graphics, High risk of breaking in future versions, Listeners, Undocumented feature
Tags: , , , ,
14 Comments

copyobj behavior change in HG2

the behavior of Matlab’s copyobj function changed in R2014b (HG2), and callbacks are no longer copied.

Categories: Guest bloggers, GUI, Handle graphics, Low risk of breaking in future versions, Stock Matlab function
Tags: , , , ,
Leave a comment

Undocumented view transformation matrix

Matlab’s view function returns an undocumented output transformation matrix.

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

Plot legend title

Titles to plot legends are easy to achieve in HG1 (R2014a or earlier), but much more difficult in HG2 (R2014b or newer).

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

Transparent legend

Matlab chart legends are opaque be default but can be made semi- or fully transparent.

Categories: Handle graphics, Medium risk of breaking in future versions, Stock Matlab function, Undocumented feature
Tags: , , , ,
Leave a comment