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
Logical Vectors: The relational operators can also be used with the vectors and matrices. For illustration, let's say that there is a vector, and we want to compare each eleme

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

Illustration of Writing variables to a file: For illustration, in the below session in the Command Window, 3 variables are generated; these are then exhibited using who. Then,

Illustration of a recursive function: illustration is of a recursive function which does not return anything, but simply prints. The below function prtwords receives a sentenc

Illustration of Advanced file input and output: For illustration, to refer to the third number in the first element of the cell array: >> subjdata{1}(3) ans =

Example of Symbolic Expression When there is more than one variable, the MATLAB selects which to solve for. In the illustration below, the equation ax 2 + bx = 0 is solved. Th

Types of User-defined Functions: We know how to write a user-defined function, stored in an M-file, which computes and returns one value. This is merely one type of the functi

Function xlsread - file function: The function xlsread will read from the spreadsheet file. For illustration, to read from file just generated: >> ssnums = xlsread('ranexc

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

Writing to Files: There are many lower level functions which can write to files. We will focus on the fprintf function that can be used to write a file and also to append to a