Question: % Create a figure with a white background named 'ABCs_figures' and turns off the figure number figure('Name','ABCs_figures', 'NumberTitle','off','Color','w', 'Position',[420,218,690,432]); % (1)(2) % TAKE A LOOK

% Create a figure with a white background named 'ABCs_figures' and turns off the figure number figure('Name','ABCs_figures', 'NumberTitle','off','Color','w', 'Position',[420,218,690,432]); % (1)(2)

% TAKE A LOOK 1

% get the current figure f = gcf; % (3) what function does this? % set the background color to black f.Color = 'none'; % (4)

% creates a text box in the current figure txt = uicontrol(f,'Style','text','BackgroundColor','w'); %(5)

% TAKE A LOOK 2

% Change the size of the text box so it is 300 pixels wide, 50 pixels high % and is located in the middle of the screen % HINT: look up the position property for uicontrol % HINT: look at the dimensions of your figure window to help calculate your % starting positions txt.Position =[200 200 300 50]; %(6)

% Have the text box display the string: 'GO JACKETS! STING 'EM!' txt. = 'GO SACKETS! STING ''EM!'; % (7) %txt.FontSize = 30; %txt.HorizontalAlignment = 'center'; %txt.ForegroundColor = 'yellow';

% TAKE A LOOK 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!