Re: [R] ggplot2 axis

2020-05-09 Thread Rui Barradas
Hello, I cannot reproduce this. If I do db <- iris[3:5] names(db) <- c("length", "width", "support") and change 'lenght' to 'length' in the ggplot call both axis are plotted. But the code is not reproducible, db is missing. Can you post the output of dput(head(db, 30)) in a next mail? Hope

Re: [R] ggplot2 axis label German formatting

2014-01-12 Thread Stageexp
Works like a charm! Thank you so much! One more comment: I either had to add a second input parameter "..." to gcomma or remove the "..." from the code, otherwise I got an error. -- View this message in context: http://r.789695.n4.nabble.com/ggplot2-axis-label-German-formatting-tp4683477p46834

Re: [R] ggplot2 axis label German formatting

2014-01-12 Thread Ista Zahn
Hi, You can write a function to format the labels, like this: gcomma <- function(x) format(x, ..., big.mark = ".", decimal.mark = ",", scientific = FALSE) p.new + scale_x_continuous(labels = gcomma) Best, Ista On Sun, Jan 12, 2014 at 6:02 AM, Stageexp wrote: > Hi all I have a problem with for

Re: [R] ggplot2 axis labels

2007-11-21 Thread hadley wickham
That should still work? If it doesn't, you should be able to figure out what the new element name is by following the recipe in the last chapter of the ggplot book. Hadley On 11/21/07, Felipe Carrillo <[EMAIL PROTECTED]> wrote: > Hi: > Does anyone(Hadley?)know how to change the axis labels > with