representation of data

1 view (last 30 days)
Raviteja
Raviteja on 14 Sep 2011
I have two variables >> var1
var1 =
0.99977
0.9998
0.9996
0.99964
0.99903
0.99968
0.99977
0.99887
0.99952
0.99919
>> var2
var2 =
0.99831
0.99805
0.99857
0.99859
0.99834
0.99868
0.99956
0.99923
0.99944
0.99768
What is the best visual method to compare these type of data ? bar() chat will give near about 1. so that we cant visualize properly.. What are the other methods to compare these data?
Help in this!

Answers (1)

Jan
Jan on 14 Sep 2011
Some ideas:
hold('all');
plot(1 - var1);
plot(1 - var2);
Or:
plot(var1, var2);
Or:
plot(var1 - var2);
Or use BAR and limit the Y-Scale to [0.99, 1], see XLim, use YLim equivalently.

Tags

Community Treasure Hunt

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

Start Hunting!