1.

How can we group the elements in a 3-d bar graph?(a) Give ‘grouped’ as style input to bar3() command(b) Give ‘grouped’ as style input to bar() command(c) Give ‘group’ as style input to bar3() command(d) Give ‘group’ as style input to bar() commandI got this question in an interview for job.This key question is from Three-Dimensional Plots topic in portion MATLAB Graphics of MATLAB

Answer»

Right option is (a) Give ‘GROUPED’ as style input to bar3() command

To explain I would SAY: A 3-d bar graph is created with the bar3() command. The elements of each row of the input VECTOR can be grouped together by giving a STRING input ‘grouped’ to the bar3() command.



Discussion

No Comment Found

Related InterviewSolutions