parameter value in figure titke
parameter value in figure titke
(OP)
Hi,
I would like to know if there is a way to 'print' a parameter value in the figure title.
At the moment I have the following statement:
Figure1=figure('Name',D. Jansen, M. bed sim xxxxx', ...
'NumberTitle','off', ...
'Position',[50 50 925 600] );
Instead of the xxxxx I would like to print the values of one or more parameter values (if possible with name).
Thanks in adavnce for any tips.
David
I would like to know if there is a way to 'print' a parameter value in the figure title.
At the moment I have the following statement:
Figure1=figure('Name',D. Jansen, M. bed sim xxxxx', ...
'NumberTitle','off', ...
'Position',[50 50 925 600] );
Instead of the xxxxx I would like to print the values of one or more parameter values (if possible with name).
Thanks in adavnce for any tips.
David





RE: parameter value in figure titke
e.g.
CODE
mystr = ['D. Jansen, M. bed sim ' num2str(param_value)];
% or
% mystr = sprintf('D. Jansen, M. bed sim %.4d', param_value);
Figure1=figure('Name',mystr, ...
'NumberTitle','off', ...
'Position',[50 50 925 600] );
--
Dr Michael F Platten