Mercurial > repos > public > sbplib
view +parametrization/place_label.m @ 222:e7e73173d44d feature/beams
time.Rungekutta4SecondOrder: Started adding code to allow timedependent D,E,S. Might be buggy.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 28 Jun 2016 13:21:02 +0200 |
parents | 3a3cf386bb7e |
children | 0e198af1184b |
line wrap: on
line source
function place_label(pt,str,horzAl,vertAl) default_arg('horzAl','center'); default_arg('vertAl', 'middle'); x = pt(1); y = pt(2); h = text(x,y,str); h.HorizontalAlignment = horzAl; h.VerticalAlignment = vertAl; end