Skip to content
Prev 315490 / 398503 Next

Log scale on y axis of parallel coordinate plot (lattice)

Hello all,

Thanks a lot for you help!

Just in case someone else will have that same problem in the future: 
Meanwhile I also found out that ggplot2 gives you the option to freely 
swap x- and y-axes and apply a log-scale to whichever one you need:

 > library(ggplot2)
 > library(reshape2)

 > molten <- melt(df_n, id = ".row")

 > p <- ggplot(molten, aes(variable, value, group = .row))
 > p <- p + geom_line() + scale_y_log10()
 > p

Cheers,
Roland
On 17/01/13 06:53, ilai wrote: