logo for matrixlab-examples.com
[?] Subscribe To This Site

XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines


Home
Matrixmania Blog
Contact
-> Sitemap <-
-> Matlab Books <-
Quick Matlab Guide
Matlab Tutorial
Matlab Examples
Matlab Control Flow
Boolean Algebra
Linear Algebra
Matlab 2D Plot
Matlab 3D Plot
Matlab GUI
Matlab Cookbook
Matlab Cookbook II
Probability and Stats
Forums
Relevant Links
Fun!
Your own Website?
leftimage for matrixlab-examples.com

MATLAB Plot

From ' Matlab Plot ' to home

2D Plots
Matlab includes fancy tools for visualization. Basic 2D plots, good 3D graphics, and even animation possibilities are available in an easy environment. The most basic and useful command for producing simple 2D plots is...

Horizontal and Vertical Lines
We are going to create a simple Matlab function to add horizontal and vertical lines to any given Matlab-created plot. For example, let's say that we need to add some indications or annotations to a plot, and we need to display and indicate some upper or lower...

Pie Plots
pie(x) draws pie plots of the data in the vector x. The values in x are normalized via x/sum(x) to determine the area of each slice of pie...

hist
The hist instruction in Matlab, without output arguments, produces a histogram bar plot of the results. The bar edges on the first and last bins may extend to cover the min and max of the data unless a matrix of data is supplied...

Comet Plot
comet(a) displays an animated comet plot of the vector a.
comet(a, b) displays an animated comet plot of vector b vs a.
comet(a, b, p) uses a comet of length p*length(b).  Default is p = 0.10...

Plotting using stems
In this example, we study the 'stem' instruction to illustrate Matlab functions. It draws vertical lines (with a little circle at the tip) proportional to the value of the function at that particular horizontal value. 'stem' does not join the circles with a line, and it is very helpful to stress the fact that the function is, in fact, not continuous but discreet...

Logarithmic plots
In this example we are going to demonstrate how to use the 'loglog' function included in Matlab to produce logarithmic axis. This term referrs to the fact that the plot is logarithmically scaled in both axes...

Polar plots
Functions that plot data in the polar coordinates using magnitudes and angles. In this article we’ll discuss and show the Matlab plot commands 'compass', 'polar' and 'rose'...


From 'Matlab Plot' to home


footer for matlab plot page