기본 콘텐츠로 건너뛰기

라벨이 2.2 Histogram인 게시물 표시

2.2 Histogram

2. histogram 주로 binwidth 옵션을 사용하여 그래프 조정합니다. xxxxxxxxxx ggplot ( STOCK ) +   geom_histogram ( aes ( x = High , fill = ..x.. ),                 binwidth = 1000 ) +   scale_fill_gradient ( low = "#CCE5FF" , high =   "#FF00FF" ) +   theme_classic () + labs ( fill = "Labels Name" ) ​ ggplot ( STOCK ) +   geom_histogram ( aes ( x = High , fill = Day ),                 binwidth = 1000 , alpha = 0.4 ) +   theme_classic () + labs ( fill = "Labels Name" ) ​ ggplot ( STOCK ) +   geom_histogram ( aes ( x = High , fill = Day ),                 binwidth = 1000 , alpha = 0.4 , position = "dodge" ) +   theme_classic () + labs ( fill = "Labels Name" )