adplus-dvertising
frame-decoration

Question

What is the output of the following code?
plot([-3:1:3],[-3:1:3]);cla;

a.

Error

b.

A ramp function

c.

A graph of a ramp function with no axes

d.

A window having two axes

Posted under MATLAB Graphics MATLAB

Answer: (d).A window having two axes

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code?

Similar Questions

Discover Related MCQs

Q. Using the set command for axes can be replaced by setting the ___ to a variable.

Q. A semi-log graph cannot be plotted in MATLAB.

Q. What does the set command do?

Q. The fill command cannot take more than ______ inputs.

Q. The default colour of graph generated by the plot command is blue.

Q. The font style of the input text can be changed by the ____

Q. The text given to the graphs can be made bold.

Q. How many objects are created for 24 texts written in the graph?

Q. How can we introduce texts in a graph?

Q. A stacked horizontal bar-chart can be made in MATLAB by ___________

Q. The color density of the bar-chart drawn from the bar3() command is always proportional to the height of the bars.

Q. The ezsurf command is present in the ___________

Q. colorbar command gives different color to the bar chart following their ______

Q. The meshc() command takes complex inputs.

Q. How do we create horizontal bar graphs in MATLAB?

Q. What is the short name for black as input to the surf command?

Q. What is the range of RGB triplets for the surf command?

Q. What is the RGB triplet style for yellow?

Q. What is the nature of z in surf(x,y,z)?

Q. What is the purpose of the figure command?