search for: barcolors

Displaying 2 results from an estimated 2 matches for "barcolors".

Did you mean: carcolors
2009 Jan 16
0
Barchart in lattice package: controlling order of bars in plot and color of a selected bar
Hi, I'm using the lattice function 'barchart' to make a series of 4 histograms. Currently, the y-axis values are graphed in order of the y-axis variable. I'd like to have the y-axis values sorted in ascending order of the x-axis values so that the longest bar horizontally is on top of the graph (in it's seciton) and the shortest bar is on the bottom. I can do this in
2005 Sep 01
6
png scaling problem
scaling<-4 xywidth<-480 resolution<-150 png(filename = "c:/r/anschluss/plots/4.png", width = xywidth*scaling, height = xywidth*scaling,pointsize = 12, bg = "white", res = resolution*scaling) ...... barplot(xrow,col = barcolors,cex.axis=scaling, ylab="mean time till attachment in sec",cex.lab=1.2*scaling) I tried to scale the barplot but there is one strange result: scaling=1 http://biostatistic.de/temp/1.png --- the ylab is ok scaling=2 http://biostatistic.de/temp/2.png --- the ylab is not ok scaling=...