Re: [R] Plotting barplot and scatterplot on same device - x-axis problem

From: Carl Witthoft <>
Date: Fri, 20 Jun 2008 16:34:58 -0400

As an alternative to the other suggestions, I've found it just as easy to make the bar plot using plot() .

Assuming I've run hist()->sudh, then do


Then it's easy to drop some scatterplot points or lines on top of that. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 20 Jun 2008 - 20:55:12 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 Fri 20 Jun 2008 - 21:31:56 GMT.

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

list of date sections of archive