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
namespace XPlot
namespace XPlot.Plotly
val x1 : float []

Full name: Plotly-3d-scatter-plots.x1
val y1 : float []

Full name: Plotly-3d-scatter-plots.y1
val z1 : float []

Full name: Plotly-3d-scatter-plots.z1
val text : seq<string>

Full name: Plotly-3d-scatter-plots.text
property System.Array.Length: int
module Seq

from Microsoft.FSharp.Collections
val map : mapping:('T -> 'U) -> source:seq<'T> -> seq<'U>

Full name: Microsoft.FSharp.Collections.Seq.map
val x : int
val sprintf : format:Printf.StringFormat<'T> -> 'T

Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.sprintf
val x2 : float []

Full name: Plotly-3d-scatter-plots.x2
val y2 : float []

Full name: Plotly-3d-scatter-plots.y2
val z2 : float []

Full name: Plotly-3d-scatter-plots.z2
val text2 : seq<string>

Full name: Plotly-3d-scatter-plots.text2
val trace1 : Scatter3d

Full name: Plotly-3d-scatter-plots.trace1
Multiple items
type Scatter3d =
  inherit Trace
  new : unit -> Scatter3d
  member ShouldSerializeerror_x : unit -> bool
  member ShouldSerializeerror_y : unit -> bool
  member ShouldSerializeerror_z : unit -> bool
  member ShouldSerializehoverinfo : unit -> bool
  member ShouldSerializelegendgroup : unit -> bool
  member ShouldSerializeline : unit -> bool
  member ShouldSerializemarker : unit -> bool
  member ShouldSerializemode : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.Scatter3d

--------------------
new : unit -> Scatter3d
property Scatter3d.x: obj
property Scatter3d.y: obj
property Scatter3d.z: obj
Multiple items
type Marker =
  new : unit -> Marker
  member ShouldSerializeautocolorscale : unit -> bool
  member ShouldSerializecauto : unit -> bool
  member ShouldSerializecmax : unit -> bool
  member ShouldSerializecmin : unit -> bool
  member ShouldSerializecolor : unit -> bool
  member ShouldSerializecolorbar : unit -> bool
  member ShouldSerializecolors : unit -> bool
  member ShouldSerializecolorscale : unit -> bool
  member ShouldSerializecolorsrc : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.Marker

--------------------
new : unit -> Marker
Multiple items
type Line =
  new : unit -> Line
  member ShouldSerializeautocolorscale : unit -> bool
  member ShouldSerializecauto : unit -> bool
  member ShouldSerializecmax : unit -> bool
  member ShouldSerializecmin : unit -> bool
  member ShouldSerializecolor : unit -> bool
  member ShouldSerializecolorscale : unit -> bool
  member ShouldSerializecolorsrc : unit -> bool
  member ShouldSerializedash : unit -> bool
  member ShouldSerializeoutliercolor : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.Line

--------------------
new : unit -> Line
val trace2 : Scatter3d

Full name: Plotly-3d-scatter-plots.trace2
type Chart =
  static member Area : data:seq<#seq<'a1 * 'a2>> -> PlotlyChart (requires 'a1 :> key and 'a2 :> value)
  static member Area : data:seq<#key * #value> -> PlotlyChart
  static member Area : data:seq<#value> -> PlotlyChart
  static member Bar : data:seq<#seq<'a1 * 'a2>> -> PlotlyChart (requires 'a1 :> key and 'a2 :> value)
  static member Bar : data:seq<#key * #value> -> PlotlyChart
  static member Bar : data:seq<#value> -> PlotlyChart
  static member Bubble : data:seq<#key * #value * #value> -> PlotlyChart
  static member Column : data:seq<#seq<'a1 * 'a2>> -> PlotlyChart (requires 'a1 :> key and 'a2 :> value)
  static member Column : data:seq<#key * #value> -> PlotlyChart
  static member Column : data:seq<#value> -> PlotlyChart
  ...

Full name: XPlot.Plotly.Chart
static member Chart.Plot : data:seq<#Trace> -> PlotlyChart
static member Chart.Plot : data:Trace -> PlotlyChart
static member Chart.Plot : data:seq<#Trace> * layout:Layout -> PlotlyChart
static member Chart.Plot : data:Trace * layout:Layout -> PlotlyChart
static member Chart.WithWidth : width:int -> chart:PlotlyChart -> PlotlyChart
static member Chart.WithHeight : height:int -> chart:PlotlyChart -> PlotlyChart
Fork me on GitHub