0

我想将一条线段变成一个箭头,表示该线继续超出它的终点,但我收到错误消息:Don't know how to automatically pick scale for object of type arrow. Defaulting to continuous. Fejl: Elements must equal the number of rows or 1

我试过这个: p <-ggplot(spray, aes(x=Name, y=Dose, fill=System))+ geom_dotplot(binaxis='y', stackdir='center', stackratio=1, dotsize=1.2) + geom_segment(aes(x = 2,y = 0.009,xend = 2,yend = 0.1,箭头 = 箭头(长度 = 单位(4,“mm”))))+

p

4

0 回答 0