且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在ggplot中注释大于或等于

更新时间:2023-02-10 16:00:01



How about this:

ggplot(mtcars, aes(mpg, disp))+
    geom_point()+
    annotate("text",25,400, label=("'Large fish' >= 45 ~ 'cm'"), parse=TRUE, hjust=0)