SAE_S2.04/Exo2/Question4.sce

8 lines
360 B
Scilab
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//histogramme de lespérance de vie des hommes par pays sur lintervalle [0, 100] avec 20 classes
intervalle = linspace(0, 100, 20);
histplot(intervalle, data(u, 11));
//histogramme plus précis de lespérance de vie des hommes par pays sur lintervalle [50, 85] avec 8 classes
intervalle2 = linspace(50, 85, 8);
histplot(intervalle2, data(u, 11));