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
Illustration of Writing to files: Here is the other illustration in which a matrix is written to a file. At First, an arbitrary 2 × 4 matrix is generated, and then it is writt

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

Using Functions with the Vectors and Matrices: As MATLAB is written to work with the vectors and matrices, the whole vector or matrix can be passed as an argument to the funct

Applications of Customized Strings: Labels, Prompts, Arguments to Functions: The one of very useful application of this is to involve numbers in strings that are used to plot

Pie chart - plot functions: The MATLAB also has a function pie which will generate a pie chart. Calling the function with the form pie (vec) draws a pie chart, by using the pe

Symbolic Expression The solve function solves an equation and returns the solution(s) as symbolic expressions. The answer can be converted to numbers by using any numeric funct

Illustration of Standard Deviation The less spread out the numbers are, therefore smaller the standard deviation will be, as it is a way of determining the spread of the data.

Standard Deviation The standard deviation is the square root of variance: The built-in function in a MATLAB for the standard deviation is known as std; the standard dev

Minimum and Maximum Value The MATLAB has built-in functions for numerous statistics. For illustration, min and max to find the minimum or maximum value in a data set. >> x

Concatenation: The String concatenation means to join the strings altogether. Of course, as strings are merely vectors of the characters, the technique of concatenating vector