representation of data

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!

Réponses (1)

Jan
Jan le 14 Sep 2011

0 votes

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.

Catégories

En savoir plus sur Data Import and Analysis dans Centre d'aide et File Exchange

Tags

Question posée :

le 14 Sep 2011

Community Treasure Hunt

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

Start Hunting!

Translated by