Closed
Description
In ggplot2, it's a smooth ine.
But same code in plotly it become strange curve as attachment.
Code:
test = paste ("select * from file order by WFR",sep="")
d <- read.csv.sql("raw1.csv", sql = test)
d$WFR <- factor(d$WFR, levels = unique(as.character(d$WFR)))
g <- ggplot(d,aes(x=WFR,y=BINE, colour = Group1)) + geom_point() + geom_smooth(aes(group=1))
p <- ggplotly(g)
p