Skip to content

Commit

Permalink
issue #54:
Browse files Browse the repository at this point in the history
Added picgen functions, pictures, small changes in chap_examples
  • Loading branch information
isvasia committed Dec 28, 2018
1 parent 95031d8 commit a15f59e
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 2 deletions.
13 changes: 11 additions & 2 deletions doc/chap_examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -640,11 +640,20 @@ Consider some moment of time :math:`t_1` and final position :math:`x_1(t_1) = x^

The projection of the backward reachability set for system :eq:`invpendls`
at :math:`t_0=0` onto :math:`(x_1,x_3)`
subspace is given in :num:`figure #brset`,
and the corresponding projection of the backward reachability tube evolving
subspace is given in :num:`figure #brset`.

.. literalinclude:: ../products/+elltool/+doc/+snip/s_chapter06_section05_snippet03.m
:language: matlab
:linenos:

And the corresponding projection of the backward reachability tube evolving
from :math:`t_1=1` to :math:`t_0=0` is shown
in :num:`figure #brtube`.

.. literalinclude:: ../products/+elltool/+doc/+snip/s_chapter06_section05_snippet02.m
:language: matlab
:linenos:

.. _brset:

Pendulum with a flywheel
Expand Down
Binary file modified doc/pic/chapter06_section05_set1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/pic/chapter06_section05_tube1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions products/+elltool/+doc/+picgen/chapter06_section05_set1.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function chapter06_section05_set1
close all
elltool.doc.snip.s_chapter06_section05_snippet01;
elltool.doc.snip.s_chapter06_section05_snippet03;
hFigHandle = findobj('Type','figure');
figRegExpList = {'[a-zA-Z_0-9:;,\]\[\s]*_backward_reach_set_proj\w*'};

elltool.doc.picgen.PicGenController.savePicFileNameByCaller(...
hFigHandle, 1, 1, 1, 1, 'figRegExpList', figRegExpList);
end
10 changes: 10 additions & 0 deletions products/+elltool/+doc/+picgen/chapter06_section05_tube1.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function chapter06_section05_tube1
close all
elltool.doc.snip.s_chapter06_section05_snippet01;
elltool.doc.snip.s_chapter06_section05_snippet02;
hFigHandle = findobj('Type','figure');
figRegExpList = {'[a-zA-Z_0-9:;,\]\[\s]*_backward_reach_set_proj\w*'};

elltool.doc.picgen.PicGenController.savePicFileNameByCaller(...
hFigHandle, 1, 1, 1, 1, 'figRegExpList', figRegExpList);
end

0 comments on commit a15f59e

Please sign in to comment.