Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to draw Violin Picture with R language ggplot2

Shulou Source: shulou.com Published: 2022-06-01 21:59:24 10月06日 Update

How to use R language ggplot2 to draw violin picture, in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

The main content of today's tweet is to introduce how to use R language to draw scatter plot and add fitting curve and confidence interval.

Supplementary material Fig9 violin pictures

Image.png

The data format is as follows

Image.png

If you need sample data, you can leave a message at the end of the text.

The first is to read in the data df

Tags: Violin language function data question content coordinate axis more title paper superposition help solution good-looking easy easy in this case picture above theme Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno NVidia Apple Redmi vpn