User`s guide
15 Examples of GUIs Created Programmatically
The data matrix might have colum ns with very different data ranges and
units of measure. Therefore, one challenge of plotting columns of arbitrary
matrices together is to specify appropriate limits for the y-a x is. (The x-axis
always portrays the row indices.) By default, the axes’
YLim property is
'auto', so that the y-limits adjust to span the minimum and m aximum of
the data being plotted. If you provide code to set l imits, it should be robust
enough to require changing limits as seldom as possible. Alternatively, you
can transform column data values before plotting them in some way, for
example, by normalizing or s tandardizing them.
You can also allow the user to generate a semilog plot, which has the effect
of compressing the range of y-values. This affects the
plot_callback,
which needs logic to decide w hether to call
plot or semilo gy based on
the s tate of some uicontrol.
15-32