XPlot


Plotly 3D Scatter Plots

Full source

3D Scatter Plot

 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: 
let trace1 =
    Scatter3d(
        x = x1,
        y = y1,
        z = z1,
        text = text,
        mode = "markers",
        marker =
            Marker(
                size = 12.,
                line =
                    Line(
                        color = "rgba(217, 217, 217, 0.14)",
                        width = 0.5
                    ),
                opacity = 0.8
            )
    )

let trace2 =
    Scatter3d(
        x = x2,
        y = y2,
        z = z2,
        text = text2,
        mode = "markers",
        marker =
            Marker(
                color = "rgb(127, 127, 127)",
                size = 12.,
                symbol = "circle",
                line =
                    Line(
                        color = "rgb(204, 204, 204)",
                        width = 1.
                    ),
                opacity = 0.9
            )
    )

[trace1; trace2]
|> Chart.Plot
|> Chart.WithWidth 700
|> Chart.WithHeight 500
Fork me on GitHub