赛派号

家用电视机正常工作的电流约为多少A Multi groups line chart with ggplot2 – the R Graph Gallery

If you鈥檙e not familiar with the geom_line() function, you should probably he a look to the most basic line chart first.

Here, the input data frame is composed by 3 columns:

An ordered numeric variable for the X axis Another numeric variable for the Y axis A categorical variable that specify the group of the observation

The idea is to draw one line per group. This is doable by specifying a different color to each group with the color argument of ggplot2.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lsinopec@gmail.com举报,一经查实,本站将立刻删除。

上一篇 没有了

下一篇没有了