From: ben harper on 9 Feb 2010 09:02 i want to plot a new figure with: h11=figure(11); but how can i assign a title name to the figure? it doesn't accept like: h11=figure(11, 'Name','aaa'); thank you
From: ImageAnalyst on 9 Feb 2010 10:02 ben harper: Do you mean in the window's title bar? Or just a caption over the plot, like this: a = round(100 * rand(1,50)) % Generate sample data plot(a); title('This is your data', 'FontSize', 40); set(gcf, 'Position', get(0, 'ScreenSize')); % Maximize figure.
From: Pekka Kumpulainen on 10 Feb 2010 03:21 "ben harper" <controlusc(a)gmail.com> wrote in message <hkrptc$n5e$1(a)fred.mathworks.com>... > i want to plot a new figure with: > > h11=figure(11); > > but how can i assign a title name to the figure? > it doesn't accept like: > h11=figure(11, 'Name','aaa'); > > thank you Documentation mentions valid syntaxes as: figure('PropertyName',propertyvalue,...) or figure(h) but not the combination: figure(h,'PropertyName',propertyvalue,...) So you would have to split that in two h11=figure(11); set(h11,'Name','aaa');
|
Pages: 1 Prev: Reading all the text files in a folder Next: Automating Activation |