1.

How to introduce a title to describe the subplots generated in MATLAB?(a) Use a function(b) Use the title function(c) Use the legend function(d) Use uipanel()I had been asked this question by my college director while I was bunking the class.This key question is from Plotting Multiple Curves in division MATLAB Basics of MATLAB

Answer»

Right answer is (d) USE uipanel()

For explanation I WOULD say: The uipanel can be used to give a major title to the SUBPLOTS CREATED. The title name is given as a string input by the following way:

f=figure;

c=uipanel(‘PARENT’,f,’BorderType’,’none’);

c.Title=’Title Name’;

c.TitlePosition=’centertop’



Discussion

No Comment Found

Related InterviewSolutions