MATLAB Graphics set 5

Que.A stacked horizontal bar-chart can be made in MATLAB by ___________
a. Mentioning stacked as input to the bar3() command
b. Mentioning stacked as input to the bar3h() command
c. Mentioning stack as input to the bar3[] command
d. Mentioning stacked as input to the bar3h[] command
Que.How can we introduce texts in a graph?
a. Use the text command
b. Use the plot command
c. Use the title command
d. Additional texts not possible
Que.What is the output of the following code?
t=linspace(0, 2*pi, .1*pi); plot(t,sin(t)); text[2,-2, ‘Ho !’];

a. a graph of sin(t)
b. a graph of inverted sin(t)
c. a graph with Ho ! written
d. error
Que.How many objects are created for 24 texts written in the graph?
a. 22
b. 24
c. 21
d. 2
Que.What is the output of the following code?
t=linspace(0:.1*pi:2*pi);plot(t,sin(t));text(0.5,1,’Ho !’,’colour’,’red’)

a. Error
b. A graph with Ho! written
c. A An inverted sinusoid
d. An inverted sinusoid with Ho written
Que.What is the output of the following code?
t=linspace(0:.19*pi:27*pi);plot(t,sin(t));text(0.5,1,’color’,’red’)

a. Error on plot command
b. Error in linspace command
c. Error in text command
d. A graph of a sinusoid with Ho ! written on it.
Que.What is the output of the following code?
t=linspace(0,.00002*pi,2*pi);plot(t,cos(t));text(0.5,1,'color','blue')

a. Syntactical Error due to text command
b. Input error due to text command
c. Error in linspace command
d. A graph of sinusoid with Ho ! written on it
Que.What is the output of the following command?
t=linspace[0,20*pi,2*pi];plot(t,tan(t));text(0.5,1,'Ho!','color','blue')

a. Syntactical error in the text command
b. Error in input of plot command
c. Error in linspace command
d. The graph of tan(t) w.r.t. t with Ho ! writted
Que.What is the output of the following code?
t=linspace(0,.5,2*pi);plot(t,sin(t));text(0.5,1,'\mu Ho!','color','blue')

a. A sinusoid with µHo! written
b. A sinusoid with Ho! written
c. Error in the text command
d. A sinusoid with \mu Ho! written
Que.What is the output of the following code?
t=[-10:1:10];plot(t,t), text(0,0,’Origin’,color,’blue’)

a. A ramp function with Origin written in Blue
b. A ramp function with Origin written in Blue and center left alignment
c. Error
d. A ramp function with Origin