IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
set_title.m
Go to the documentation of this file.
1
%>@ingroup graphicsapi
2
%>@file
3
%>@brief Sets figure title sensitive to
object
passed
4
%>
5
%> Uses the objects
's @ref irobj::title property. If it is empty, simply uses @c s
6
%
7
%> @param s Specific title
8
%> @param obj Object get @ref irobj::title from
9
function set_title(s, obj)
10
11
st = s;
12
if ~isempty(obj.title)
13
st = ['
"', obj.title, '"
-
', st];
14
end;
15
title(st);
m
misc
graphicsapi
set_title.m
Generated on Tue May 19 2015 20:46:05 for IRootLab by
1.8.9.1