total = sum(values);
relative_values = values/total;
//disp("The relative values are ") disp(relative_values)
clf();
bar(frequency,values,0.2,'yellow','stacked') //bar plot
//bar(frequency(1:5),values(1:5),0.2,'yellow','stacked') ///bar plot for a subset of the data
//plot(frequency,values) //frequency polygon 
//plot(frequency(1:10),values(1:10)) //frequency polygon for a subset of the data
//histplot(frequency,values);
//histplot(10,values);
//plot(frequency,values,'b.');xgrid; title(msprintf("percentage literacy")); //scatter plot
//plot(frequency,values,'b.-');xgrid; title(msprintf("percentage literacy")); //scatter plot with dots connected by line
//d=rand(1,10000,'normal');  // the gaussian random sample //clf();histplot(20,d)
