What are the properties of ggplot2 graphics
This article mainly explains "what are the attributes of ggplot2 graphics". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn what are the attributes of ggplot2 graphics.
The corresponding graphic attribute settings corresponding to different geometry, as well as the default form of statistical transformation. The table is: geom stat aes geom_abline abine colour,linetype,size geom_area identity colour,fill,linetype...
The corresponding graphic attribute settings corresponding to different geometry, as well as the default form of statistical transformation.
When drawing the corresponding picture type, you need to choose the correct way to map the graphic attributes. For more information, please refer to the aes () type that each geometric object can involve.
The form is as follows:
Geomstataesgeom_ablineabinecolour,linetype,sizegeom_areaidentitycolour,fill,linetype,size,x,ygeom_barbincolour,fill,linetype,size,weight,xgeom_bin2dbin2dcolour,fill,linetype,size,weight,xmax,xmin,ymax,ymingeom_blankidentity
Geom_boxplotboxplotcolour,fill,lower,middle,size,upper,weight,x,ymax.ymingeom_contourcontourcolour,linetype,size,weight,xgeom_crossbaridentitycolour,fill,linetype,size,x,y,ymax,ymingeom_densitydensitycolour,fill,linetype,size,weight,x,ygeom_density2ddensity2dcolour,linetype,size,weight,x,ygeom_dotplotbindotcolour,fill,x,ygeom_errorbaridentitycolour,linetype,size,width,x,ymax,ymingeom_errorbarhidentitycolour,linetype,size,width,x,ymax,ymingeom_freqpolybincolour,linetype,sizegeom_hexbinhexcolour,fill,size,x,ygeom_histogrambincolour,fill,linetype Size,weight,xgeom_hlinehlinecolour,linetype,sizegeom_jitteridentitycolour,fill,shape,size,x,ygeom_lineidentitycolour,linetype,size,x,ygeom_linerangeidentitycolour,linetype,size,size,x,ymax,ymingeom_mapidentitycolour,fill,linetype,size,x,y,map_idgeom_pathidentitycolour,linetype,size,x,ygeom_pointidentitycolour,fill,shape,size,x,ygeom_pointrangeidentitycolour,fill,linetype,shape,size,x,ymax,ymingeom_polygonidentitycolour,fill,linetype,size,x,ygeom_quantilequantilecolour,linetype,size,weight,x,ygeom_rasteridentitycolour,fill,linetype Size,x,ygeom_rectidentitycolour,fill,linetype,size,xmax,xmin,ymax,ymingeom_ribbonidentitycolour,fill,linetype,size,x,ymax,ymingeom_rugidentitycolour,linetype,sizegeom_segmentidentitycolour,linetype,size,x,xend.y.yendgeom_smoothsmoothaplha,colour,fill,linetype,size,weight,x,ygeom_stepidentitycolour,linetype,size,x,ygeom_textidentityangle,colour,hjust,label,size,size,vjust,x,ygeom_tileidentitycolour,fill,linetype,size,x,ygeom_violinydensityweigth,colour,fill,size,linetype,x,ygeom_vlinevlinecolour,linetype Size, thank you for your reading. The above is the content of "what are the attributes of ggplot2 graphics". After the study of this article, I believe you have a deeper understanding of what the attributes of ggplot2 graphics are, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!