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
Example of Logical built-in functions: For equivalent to all the function, we should make sure that the entire elements in the vector are logically true. The one way of doing

Counting in a While Loop: Whenever it is not known ahead of the time how many values will be entered into the script, it is often essential to count the number of values which

User input in the while loop: Here is an illustration of running this script: >> readonenum Enter a positive number: -5 Invalid! Enter a positive number: -2.2

Illustration of Empty vectors: The Empty vectors can also be used to delete elements from the arrays. For illustration, to remove the third element from array, an empty vector

Illustration of Labels and prompts: The program below prompts the user for endpoints (x1, y1) and (x2, y2) of a line segment, and computes the midpoint of the line segment, th

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

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

If I have a vector representing the packed storage form of a symmetric matrix, how do I perform a cholesky factorisation on that?

Illustration of nested function: The output arguments are distinct from variables. The scope of an output argument is merely the nested function; and it cannot be used in the

Fliplr function: The fliplr function "flips" the matrix from left to right (in another words the left-most column, the first column, become the last column and so on), and the