24 plot_options.figure= 11;
25 plot_options.axis=
" auto ";
26 plot_options.colorbar=
" Normalkraft ";
28 h = figure(plot_options.figure);
30 axis(plot_options.axis)
41 set(h,
" Color ",
" White ")
43 if (strcmp(plot_options.colorbar,) == 0)
45 xlabel(
handle, plot_options.colorbar,
" FontSize ", 12)
48 set(h,
" Toolbar ",
" Figure ");
49 ctrl = uicontrol(
" Tag ",
" btnCancel ",
" Parent ",h);
50 set(ctrl,
" String ",
" Cancel ",
" Callback ",@(h,e)set(h,
" UserData ",1));
55 if ~ishandle(ctrl) || ...
56 (~isempty(
get(ctrl,
" UserData ")) &&
get(ctrl,
" UserData ") == 1)
59 model.plotSingle(
t(tidx), u(:,tidx), h);
function plot(rowvec t,matrix u)
plot: Plots the current displacements and heat (u = 4 x numNodes x timesteps matrix) ...
Matlab's base handle class (documentation generation substitute)