Re: [R] bwlpot problems: printing, and tick labels

From: Philipp Pagel <>
Date: Thu, 28 Apr 2011 13:03:08 +0200

> A. It produces empty JPEGs. When the 'bwplot' line alone is submitted, the
> plot duly shows up.

See FAQ:

BTW: don't use jpg for plotting if you can - they routinely look ugly.

> B. When the 'bwplot' line alone is submitted, y labels are values 1 to 6,
> not actual distinct values of y$maxthreads.

That's because maxthreads is not a factor - you can convert it to one. See below.

> (C. I would, of course, prefer to produce plots for all distinct values of
> x$maxthreads in a single swoop, on a single figure).

That's what I was about to suggest. Don't loop over the tasks - use the power of lattice. I think this should be close to what you want:

bwplot(factor(maxthreads) ~ time | factor(tasks), x)



Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
Wissenschaftszentrum Weihenstephan
Maximus-von-Imhof-Forum 3
85354 Freising, Germany

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 28 Apr 2011 - 11:10:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 28 Apr 2011 - 11:30:33 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive