On Mon, 28 Oct 2013 13:40:51 +0000 "Ortiz, John" <ort...@si.edu> wrote:
> > Dear list users, > > > I'm doing a plot integrating Grid output with Base Graphics output > (gridBase, Murrell 2012). > > My goal is to produce a xy plot where each point is represented by a > pie. I could get it using the attach code, but now I want to change > the X axis to log scale. > > when I introduce the log="x" parameter in the line: > > plot(x, y, xlim=c(0.1, 1.2), log="x", ylim=c(0.1, 1.2), type="n") > > I get this warning! > > vps <- baseViewports() > Warning message: > In baseViewports() : viewport scales NOT set to user coordinates > It is not clear what you want. Why is there an 'x = "log"' term in plot()? If you want to plot log(x) try using: plot(log(x), y, xlim=c(0.1, 1.2), ylim=c(0.1, 1.2), type="n") That generates an x/y plot with pies at various points. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.