@@ -161,7 +161,14 @@ open FSharpAux
161
161
open System
162
162
open System.IO
163
163
164
+ let y = [ 2.37 ; 2.16 ; 4.82 ; 1.73 ; 1.04 ; 0.23 ; 1.32 ; 2.91 ; 0.11 ; 4.51 ; 0.51 ; 3.75 ; 1.35 ; 2.98 ; 4.50 ; 0.18 ; 4.66 ; 1.30 ; 2.06 ; 1.19 ]
164
165
166
+ [
167
+ Chart.BoxPlot( y= y, BoxPoints= StyleParam.BoxPoints.All, Jitter= 0.5 , Notched= true , MarkerColor = Color.fromString " red" , BoxMean= StyleParam.BoxMean.True, Name= " Only Mean" );
168
+ Chart.BoxPlot( y= y, BoxPoints= StyleParam.BoxPoints.All, Jitter= 0.5 , Notched= true , MarkerColor = Color.fromString " blue" , BoxMean= StyleParam.BoxMean.SD, Name= " Mean & SD" )
169
+ ]
170
+ |> Chart.combine
171
+ |> Chart.show
165
172
166
173
[
167
174
Chart.Histogram(
@@ -664,8 +671,8 @@ Chart.Invisible()
664
671
665
672
666
673
[
667
- Chart.BoxPlot( " y" , y, Name= " bin1" , Jitter= 0.1 , Boxpoints = StyleParam.Boxpoints .All);
668
- Chart.BoxPlot( " y'" , y', Name= " bin2" , Jitter= 0.1 , Boxpoints = StyleParam.Boxpoints .All);
674
+ Chart.BoxPlot( " y" , y, Name= " bin1" , Jitter= 0.1 , BoxPoints = StyleParam.BoxPoints .All);
675
+ Chart.BoxPlot( " y'" , y', Name= " bin2" , Jitter= 0.1 , BoxPoints = StyleParam.BoxPoints .All);
669
676
]
670
677
|> Chart.combine
671
678
@@ -705,8 +712,8 @@ let heatmap2=
705
712
Chart.PointMapbox([ 1 , 2 ]) |> Chart.withMapbox( Mapbox.init( Style = StyleParam.MapboxStyle.OpenStreetMap))
706
713
[
707
714
let y = [ 2. ; 1.5 ; 5. ; 1.5 ; 2. ; 2.5 ; 2.1 ; 2.5 ; 1.5 ; 1. ; 2. ; 1.5 ; 5. ; 1.5 ; 3. ; 2.5 ; 2.5 ; 1.5 ; 3.5 ; 1. ]
708
- Chart.BoxPlot( " y" , y, Name= " bin1" , Jitter= 0.1 , Boxpoints = StyleParam.Boxpoints .All);
709
- Chart.BoxPlot( " y'" , y, Name= " bin2" , Jitter= 0.1 , Boxpoints = StyleParam.Boxpoints .All);
715
+ Chart.BoxPlot( " y" , y, Name= " bin1" , Jitter= 0.1 , BoxPoints = StyleParam.BoxPoints .All);
716
+ Chart.BoxPlot( " y'" , y, Name= " bin2" , Jitter= 0.1 , BoxPoints = StyleParam.BoxPoints .All);
710
717
]
711
718
|> Chart.combine
712
719
]
0 commit comments