FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Plotly.NET/tests/ConsoleApps/FSharpConsole/Program.fs at C#-refactor · plotly/Plotly.NET · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
plotly
/
Plotly.NET
Public
Notifications
You must be signed in to change notification settings
Fork
99
Star
859
Code
Issues
42
Pull requests
3
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Plotly.NET
/
tests
/
ConsoleApps
/
FSharpConsole
/
Program.fs
Copy path
More file actions
More file actions
Latest commit
History
History
History
50 lines (43 loc) · 1.47 KB
Breadcrumbs
Plotly.NET
/
tests
/
ConsoleApps
/
FSharpConsole
/
Program.fs
Copy path
File metadata and controls
50 lines (43 loc) · 1.47 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
open
Plotly.
NET
[<EntryPoint>]
let
main
_
=
// sample sets with overlapping members to exercise every venn region
let
setA
=
[|
"
1
"
;
"
2
"
;
"
3
"
;
"
4
"
;
"
5
"
;
"
6
"
;
"
11
"
|]
let
setB
=
[|
"
1
"
;
"
2
"
;
"
3
"
;
"
7
"
;
"
8
"
;
"
9
"
;
"
10
"
;
"
12
"
;
"
13
"
|]
let
setC
=
[|
"
1
"
;
"
4
"
;
"
5
"
;
"
6
"
;
"
7
"
;
"
8
"
;
"
9
"
;
"
10
"
;
"
14
"
;
"
15
"
;
"
16
"
|]
// two-set venn diagram
let
twoSetVenn
=
Chart.Venn
(
set1
=
setA
,
set2
=
setB
,
Label1
=
"
A
"
,
Label2
=
"
B
"
,
UseDefaults
=
true
)
|>
Chart.withTitle
"
Venn: two sets
"
// three-set venn diagram with custom colors and font
let
threeSetVenn
=
Chart.Venn
(
set1
=
setA
,
set2
=
setB
,
Set3
=
setC
,
Label1
=
"
A
"
,
Label2
=
"
B
"
,
Label3
=
"
C
"
,
Colors
=
[|
Color.fromKeyword Aqua
;
Color.fromKeyword Salmon
;
Color.fromKeyword LightGreen
|],
TextFont
=
Font.init
(
Family
=
StyleParam.FontFamily.Courier
_
New
,
Size
=
18.
,
Color
=
Color.fromKeyword Black
),
UseDefaults
=
true
)
|>
Chart.withTitle
"
Venn: three sets (styled)
"
// upset plot comparing the same three sets
let
upset
=
Chart.UpSet
(
labels
=
[|
"
A
"
;
"
B
"
;
"
C
"
|],
sets
=
[|
setA
;
setB
;
setC
|],
MinIntersectionSize
=
1
,
UseDefaults
=
true
)
twoSetVenn
|>
Chart.show
threeSetVenn
|>
Chart.show
upset
|>
Chart.show
0
Back
|
FazBrowse Home
|
New Git URL