Chart in MATLAB

How to draw chart in MATLAB? i have two variables x and y. I want them to draw in a chart.

Answers (1)

Oleg Komarov
Oleg Komarov on 23 Feb 2012
plot(x,y)
EDIT
If you have the financial toolbox give a look at:

3 Comments

Pramod Bhat
Pramod Bhat on 23 Feb 2012
Thanq..-)
but i want bar chart. not a plot.
Oleg Komarov
Oleg Komarov on 23 Feb 2012
You mean a financial bar chart? If yes, what version of MATLAB do you have?
Jiro Doke
Jiro Doke on 23 Feb 2012
Have you searched the documentation for "bar"?

Sign in to comment.

Asked:

on 23 Feb 2012

Edited:

on 21 Oct 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!