// //Bar plot command // //this plot command draws bar graph. //syntax when x axis variable is defined. plot bar [variable] by [variable] //Syntax when x axis is record number. plot bar [variables]; //Option title=title //tilte strings xlabel=x //x axis strings ylabel=y //y axis strings zlabel=z //z axis strings xrange=[xmin:xmax] yrange=[ymin:ymax] zrange=[zmin:zmax] color:color //example:black,red,blue,green,yellow xrotate=90 //vertical x tics //Example get iris.csv@;
plot SepalW PetalW/ color=blue ;
//summary by Species sumup SepalW PetalW by Species/ method=average ; anaput result; get result; plot bar SepalW PetalW by Species;