Three-dimensional pie and bar, MATLAB in Mathematics

Three-dimensional pie and bar:

For the bar3 function, x & y vectors are passed and the function displays three-dimensional bars as shown in figure:

685_Three-dimensional pie and bar.png

Figure: Three-dimensional bar chart.

 

>> x = 1:6;

>> y = [33 11 5 9 22 30];

>> bar3(x,y)

 

Likewise, the pie3 function display data from a vector as a three-dimensional pie as shown in Figure

 

>> pie3([3 10 5 2])

1550_Three-dimensional pie and bar1.png

Figure: Three-dimensional pie chart.

Posted Date: 10/22/2012 1:55:41 AM | Location : United States







Related Discussions:- Three-dimensional pie and bar, Assignment Help, Ask Question on Three-dimensional pie and bar, Get Answer, Expert's Help, Three-dimensional pie and bar Discussions

Write discussion on Three-dimensional pie and bar
Your posts are moderated
Related Questions
strvcat function - concatenation: The function strvcat will concatenate it vertically, that means that it will generate a column vector of the strings.   >> strvcat(fir

Plot Functions: Faraway, we have plotted to generate two-dimensional plots and bar to generate bar charts. We have seen how to clear the Figure Window by using clf, and how to

Error-Checking for Integers: As MATLAB uses the type double by default for all the values, to check to make confirm that the user has entered an integer, the program have to c

sprintf function: The sprintf function works precisely like the fprintf function, but rather than printing it generates a string. Here are some illustrations in which the outp

5 p2+8p+15, 3 p2-3p-18, 12 p2-p-30

Labels and Prompts: The script loads all the numbers from file into a row vector. It then splits the vector; it stores the initial element that is the experiment number in a v

Script a MATLAB program which meets the following speci cations: The program expects an input of a two-variable real-valued continuous function f : R^2--> R The program is to cal

Polar Form: Any complex number z = a + bi can be thought of as a point (a,b) or vector in the complex plane in which the horizontal axis is the real part of z, and the vertica

Customizing Plots : There are numerous ways to customize figures in the Figure Window. On clicking the Plot Tools icon will bring up the Property Editor & Plot Browser, with ma

Illustration of Variance For illustration, for the vector [4, 6, 1, 5], there are n = 4 values therefore n - 1 is 3. The mean of this data set is also 4. The variance will be