KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
plot.m
Go to the documentation of this file.
2 namespace models{
3 namespace beam{
4 
5 
6 /* (Autoinserted by mtoc++)
7  * This source code has been filtered by the mtoc++ executable,
8  * which generates code that can be processed by the doxygen documentation tool.
9  *
10  * On the other hand, it can neither be interpreted by MATLAB, nor can it be compiled with a C++ compiler.
11  * Except for the comments, the function bodies of your M-file functions are untouched.
12  * Consequently, the FILTER_SOURCE_FILES doxygen switch (default in our Doxyfile.template) will produce
13  * attached source files that are highly readable by humans.
14  *
15  * Additionally, links in the doxygen generated documentation to the source code of functions and class members refer to
16  * the correct locations in the source code browser.
17  * However, the line numbers most likely do not correspond to the line numbers in the original MATLAB source files.
18  */
19 
21 
22 /* % Plot Options
23  * Nummer der Figure, in der geplottet wird */
24 plot_options.figure= 11;
25 plot_options.axis= " auto ";
26 plot_options.colorbar= " Normalkraft ";
27 
28 h = figure(plot_options.figure);
29 axis equal;
30 axis(plot_options.axis)
31 /* RotMat = viewmtx(37.5, 30);
32  * view(RotMat) */
33 
34 /* Spirale, Rohrleitungen */
35 view(3)
36 
37 /* view(-37.5-video,30)
38  * camva(10)
39  * Portal
40  * view(0,0) */
41 set(h, " Color ", " White ")
42 
43 if (strcmp(plot_options.colorbar,) == 0)
44  handle = colorbar;
45  xlabel(handle, plot_options.colorbar, " FontSize ", 12)
46 end
47 
48 set(h," Toolbar "," Figure ");
49 ctrl = uicontrol(" Tag "," btnCancel "," Parent ",h);
50 set(ctrl," String "," Cancel "," Callback ",@(h,e)set(h," UserData ",1));
51 
52 hold on;
53 
54 for tidx=1:length(t)
55  if ~ishandle(ctrl) || ...
56  (~isempty(get(ctrl," UserData ")) && get(ctrl," UserData ") == 1)
57  break;
58  end
59  model.plotSingle(t(tidx), u(:,tidx), h);
60  /* pause(.01); */
61  drawnow;
62 end
63 }
83 };
84 };
A matlab matrix.
function plot(rowvec t,matrix u)
plot: Plots the current displacements and heat (u = 4 x numNodes x timesteps matrix) ...
Definition: plot.m:20
Matlab's base handle class (documentation generation substitute)
A matlab row vector.