XPlot


Plotly Polar Charts

Polar Line Chart

 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: 
51: 
52: 
53: 
54: 
55: 
56: 
57: 
58: 
59: 
60: 
61: 
62: 
63: 
64: 
65: 
66: 
67: 
68: 
69: 
70: 
71: 
72: 
73: 
74: 
75: 
76: 
77: 
78: 
79: 
80: 
81: 
82: 
83: 
84: 
85: 
86: 
87: 
88: 
89: 
90: 
91: 
92: 
93: 
94: 
95: 
96: 
97: 
let lineTrace1 =
    Scatter(
        r = r1,
        t = t1,
        mode = "lines",
        name = "Figure8",
        marker =
            Marker(
                color = "none",
                line = Line(color = "peru")
            )
    )

let lineTrace2 =
    Scatter(
        r = r2,
        t = t2,
        mode = "lines",
        name = "Cardioid",
        marker =
            Marker(
                color = "none",
                line = Line(color = "darkviolet")
            )
    )

let lineTrace3 =
    Scatter(
        r = r3,
        t = t3,
        mode = "lines",
        name = "Hypercardioid",
        marker =
            Marker(
                color = "none",
                line = Line(color = "deepskyblue")
            )
    )

let lineTrace4 =
    Scatter(
        r = r4,
        t = t4,
        mode = "lines",
        name = "Subcardioid",
        marker =
            Marker(
                color = "none",
                line = Line(color = "orangered")
            )
    )

let lineTrace5 =
    Scatter(
        r = r5,
        t = t5,
        mode = "lines",
        name = "Supercardioid",
        marker =
            Marker(
                color = "none",
                line = Line(color = "green")
            )
    )

let lineData =
    Data(
        [lineTrace1; lineTrace2; lineTrace3;
         lineTrace4; lineTrace5]
    )

let lineLayout =
    Layout(
        title = "Mic Patterns",
        font =
            Font(
                family = "Arial, sans-serif",
                size = 12.,
                color = "#000"
            ),
        showlegend = true,
        width = 500.,
        height = 400.,
        margin =
            Margin(
                l = 40.,
                r = 40.,
                b = 20.,
                t = 40.,
                pad = 0.
            ),
        paper_bgcolor = "rgb(255, 255, 255)",
        plot_bgcolor = "rgb(255, 255, 255)",
        orientation = -90.
    )

Figure(lineData, lineLayout)

Polar Scatter Chart

  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: 
 51: 
 52: 
 53: 
 54: 
 55: 
 56: 
 57: 
 58: 
 59: 
 60: 
 61: 
 62: 
 63: 
 64: 
 65: 
 66: 
 67: 
 68: 
 69: 
 70: 
 71: 
 72: 
 73: 
 74: 
 75: 
 76: 
 77: 
 78: 
 79: 
 80: 
 81: 
 82: 
 83: 
 84: 
 85: 
 86: 
 87: 
 88: 
 89: 
 90: 
 91: 
 92: 
 93: 
 94: 
 95: 
 96: 
 97: 
 98: 
 99: 
100: 
101: 
102: 
103: 
104: 
105: 
let scatterTrace1 =
    Scatter(
        r = r6,
        t = t6,
        mode = "markers",
        name = "Trial 1",
        marker =
            Marker(
                color = "rgb(27,158,119)",
                size = 110,
                line = Line(color = "white"),
                opacity=0.7
            )
    )

let scatterTrace2 =
    Scatter(
        r = r7,
        t = t7,
        mode = "markers",
        name = "Trial 2",
        marker =
            Marker(
                color = "rgb(217,95,2)",
                size = 110.,
                line = Line(color = "white"),
                opacity=0.7
            )
    )

let scatterTrace3 =
    Scatter(
        r = r8,
        t = t8,
        mode = "markers",
        name = "Trial 3",
        marker =
            Marker(
                color = "rgb(117,112,179)",
                size = 110.,
                line = Line(color = "white"),
                opacity = 0.7
            )
    )

let scatterTrace4 =
    Scatter(
        r = r9,
        t = t9,
        mode = "markers",
        name = "Trial 4",
        marker =
            Marker(
                color = "rgb(231,41,138)",
                size = 110.,
                line = Line(color = "white"),
                opacity = 0.7
            )
    )

let scatterTrace5 =
    Scatter(
        r = r10,
        t = t10,
        mode = "markers",
        name = "Trial 5",
        marker =
            Marker(
                color = "rgb(102,166,30)",
                size = 110.,
                line = Line(color = "white"),
                opacity = 0.7
            )
    )

let scatterTrace6 =
    Scatter(
        r = r11,
        t = t11,
        mode = "markers",
        name = "Trial 6",
        marker =
            Marker(
                color = "rgb(230,171,2)",
                size = 110.,
                line = Line(color = "white"),
                opacity = 0.7
            )
    )

let scatterData =
    Data(
        [scatterTrace1; scatterTrace2; scatterTrace3;
         scatterTrace4; scatterTrace5; scatterTrace6]
    )

let scatterLayout =
    Layout(
        title = "Hobbs-Pearson Trials",
        font = Font(size = 15.),
        plot_bgcolor = "rgb(223, 223, 223)",
        angularaxis = AngularAxis(tickcolor = "rgb(253,253,253)")
    )    

Figure(scatterData, scatterLayout)

Polar Area Chart

 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: 
let areaTrace1 =
    Area(
        r = [77.5; 72.5; 70.0; 45.0; 22.5; 42.5; 40.0; 62.5],
        t = ["North"; "N-E"; "East"; "S-E"; "South"; "S-W"; "West"; "N-W"],
        name = "11-14 m/s",
        marker = Marker(color = "rgb(106,81,163)")
    )

let areaTrace2 =
    Area(
        r = [57.49999999999999; 50.0; 45.0; 35.0; 20.0; 22.5; 37.5; 55.00000000000001],
        t = ["North"; "N-E"; "East"; "S-E"; "South"; "S-W"; "West"; "N-W"],
        name = "8-11 m/s",
        marker = Marker(color = "rgb(158,154,200)")
    )

let areaTrace3 =
    Area(
        r = [40.0; 30.0; 30.0; 35.0; 7.5; 7.5; 32.5; 40.0],
        t = ["North"; "N-E"; "East"; "S-E"; "South"; "S-W"; "West"; "N-W"],
        name = "5-8 m/s",
        marker = Marker(color = "rgb(203,201,226)")
    )

let areaTrace4 =
    Area(
        r = [20.0; 7.5; 15.0; 22.5; 2.5; 2.5; 12.5; 22.5],
        t = ["North"; "N-E"; "East"; "S-E"; "South"; "S-W"; "West"; "N-W"],
        name = "< 5 m/s",
        marker = Marker(color = "rgb(242,240,247)")
    )

let areaData = Data([areaTrace1; areaTrace2; areaTrace3; areaTrace4])

let areaLayout =
    Layout(
        title = "Wind Speed Distribution in Laurel, NE",
        font = Font(size = 16.),
        legend =
            Legend(
                font = Font(size = 16.)
            ),
        radialaxis = RadialAxis(ticksuffix = "%"),
        orientation = 270.
    )

Figure(areaData, areaLayout)
namespace XPlot
namespace XPlot.Plotly
type Plotly =
  private new : unit -> Plotly
  static member Signin : username:string * password:string -> unit

Full name: XPlot.Plotly.Plotly
static member Plotly.Signin : username:string * password:string -> unit
module MyCredentials
val userAndKey : string * string

Full name: MyCredentials.userAndKey
val r1 : float list

Full name: Plotly-polar-charts.r1
val t1 : int list

Full name: Plotly-polar-charts.t1
val r2 : float list

Full name: Plotly-polar-charts.r2
val t2 : int list

Full name: Plotly-polar-charts.t2
val r3 : float list

Full name: Plotly-polar-charts.r3
val t3 : int list

Full name: Plotly-polar-charts.t3
val r4 : float list

Full name: Plotly-polar-charts.r4
val t4 : int list

Full name: Plotly-polar-charts.t4
val r5 : float list

Full name: Plotly-polar-charts.r5
val t5 : int list

Full name: Plotly-polar-charts.t5
val r6 : float list

Full name: Plotly-polar-charts.r6
val t6 : float list

Full name: Plotly-polar-charts.t6
val r7 : float list

Full name: Plotly-polar-charts.r7
val t7 : float list

Full name: Plotly-polar-charts.t7
val r8 : float list

Full name: Plotly-polar-charts.r8
val t8 : float list

Full name: Plotly-polar-charts.t8
val r9 : float list

Full name: Plotly-polar-charts.r9
val t9 : float list

Full name: Plotly-polar-charts.t9
val r10 : float list

Full name: Plotly-polar-charts.r10
val t10 : float list

Full name: Plotly-polar-charts.t10
val r11 : float list

Full name: Plotly-polar-charts.r11
val t11 : float list

Full name: Plotly-polar-charts.t11
val lineTrace1 : Scatter

Full name: Plotly-polar-charts.lineTrace1
Multiple items
type Scatter =
  inherit Trace
  new : unit -> Scatter
  member ShouldSerializeconnectgaps : unit -> bool
  member ShouldSerializeerror_x : unit -> bool
  member ShouldSerializeerror_y : unit -> bool
  member ShouldSerializefill : unit -> bool
  member ShouldSerializefillcolor : unit -> bool
  member ShouldSerializeline : unit -> bool
  member ShouldSerializemarker : unit -> bool
  member ShouldSerializemode : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.Scatter

--------------------
new : unit -> Scatter
property Scatter.r: seq<float>
property Scatter.t: obj
Multiple items
type Marker =
  new : unit -> Marker
  member ShouldSerializecauto : unit -> bool
  member ShouldSerializecmax : unit -> bool
  member ShouldSerializecmin : unit -> bool
  member ShouldSerializecolor : unit -> bool
  member ShouldSerializecolorscale : unit -> bool
  member ShouldSerializeline : unit -> bool
  member ShouldSerializemaxdisplayed : unit -> bool
  member ShouldSerializeopacity : unit -> bool
  member ShouldSerializeoutliercolor : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.Marker

--------------------
new : unit -> Marker
Multiple items
type Line =
  new : unit -> Line
  member ShouldSerializecolor : unit -> bool
  member ShouldSerializedash : unit -> bool
  member ShouldSerializeopacity : unit -> bool
  member ShouldSerializeoutliercolor : unit -> bool
  member ShouldSerializeoutlierwidth : unit -> bool
  member ShouldSerializeshape : unit -> bool
  member ShouldSerializesmoothing : unit -> bool
  member ShouldSerializewidth : unit -> bool
  member color : obj
  ...

Full name: XPlot.Plotly.Graph.Line

--------------------
new : unit -> Line
val lineTrace2 : Scatter

Full name: Plotly-polar-charts.lineTrace2
val lineTrace3 : Scatter

Full name: Plotly-polar-charts.lineTrace3
val lineTrace4 : Scatter

Full name: Plotly-polar-charts.lineTrace4
val lineTrace5 : Scatter

Full name: Plotly-polar-charts.lineTrace5
val lineData : Data

Full name: Plotly-polar-charts.lineData
Multiple items
namespace Microsoft.FSharp.Data

--------------------
type Data =
  new : traces:seq<Trace> -> Data
  member Json : string
  static member From : traces:seq<#Trace> -> Data

Full name: XPlot.Plotly.Data

--------------------
new : traces:seq<Trace> -> Data
val lineLayout : Layout

Full name: Plotly-polar-charts.lineLayout
Multiple items
type Layout =
  new : unit -> Layout
  member ShouldSerializeangularaxis : unit -> bool
  member ShouldSerializeannotations : unit -> bool
  member ShouldSerializeautosize : unit -> bool
  member ShouldSerializebargap : unit -> bool
  member ShouldSerializebargroupgap : unit -> bool
  member ShouldSerializebarmode : unit -> bool
  member ShouldSerializebarnorm : unit -> bool
  member ShouldSerializeboxgap : unit -> bool
  member ShouldSerializeboxgroupgap : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.Layout

--------------------
new : unit -> Layout
Multiple items
type Font =
  new : unit -> Font
  member ShouldSerializecolor : unit -> bool
  member ShouldSerializefamily : unit -> bool
  member ShouldSerializeoutlinecolor : unit -> bool
  member ShouldSerializesize : unit -> bool
  member color : string
  member family : string
  member outlinecolor : string
  member size : float
  member color : string with set
  ...

Full name: XPlot.Plotly.Graph.Font

--------------------
new : unit -> Font
Multiple items
type Margin =
  new : unit -> Margin
  member ShouldSerializeautoexpand : unit -> bool
  member ShouldSerializeb : unit -> bool
  member ShouldSerializel : unit -> bool
  member ShouldSerializepad : unit -> bool
  member ShouldSerializer : unit -> bool
  member ShouldSerializet : unit -> bool
  member autoexpand : string
  member b : float
  member l : float
  ...

Full name: XPlot.Plotly.Graph.Margin

--------------------
new : unit -> Margin
property Margin.l: float
property Margin.r: float
property Margin.b: float
property Margin.t: float
Multiple items
type Figure =
  new : data:Data * ?Layout:Layout -> Figure
  member GetInlineHtml : filename:string -> string
  member Plot : filename:string -> PlotlyResponse option
  member Fileopt : string
  member Height : int
  member Layout : Layout option
  member Origin : string
  member Response : PlotlyResponse option
  member Width : int
  member Fileopt : string with set
  ...

Full name: XPlot.Plotly.Figure

--------------------
new : data:Data * ?Layout:Layout -> Figure
val scatterTrace1 : Scatter

Full name: Plotly-polar-charts.scatterTrace1
val scatterTrace2 : Scatter

Full name: Plotly-polar-charts.scatterTrace2
val scatterTrace3 : Scatter

Full name: Plotly-polar-charts.scatterTrace3
val scatterTrace4 : Scatter

Full name: Plotly-polar-charts.scatterTrace4
val scatterTrace5 : Scatter

Full name: Plotly-polar-charts.scatterTrace5
val scatterTrace6 : Scatter

Full name: Plotly-polar-charts.scatterTrace6
val scatterData : Data

Full name: Plotly-polar-charts.scatterData
val scatterLayout : Layout

Full name: Plotly-polar-charts.scatterLayout
Multiple items
type AngularAxis =
  new : unit -> AngularAxis
  member ShouldSerializedomain : unit -> bool
  member ShouldSerializeendpadding : unit -> bool
  member ShouldSerializerange : unit -> bool
  member ShouldSerializeshowline : unit -> bool
  member ShouldSerializeshowticklabels : unit -> bool
  member ShouldSerializetickcolor : unit -> bool
  member ShouldSerializetickorientation : unit -> bool
  member ShouldSerializeticksuffix : unit -> bool
  member ShouldSerializevisible : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.AngularAxis

--------------------
new : unit -> AngularAxis
val areaTrace1 : Area

Full name: Plotly-polar-charts.areaTrace1
Multiple items
type Area =
  inherit Trace
  new : unit -> Area
  member ShouldSerializeangularaxis : unit -> bool
  member ShouldSerializemarker : unit -> bool
  member ShouldSerializename : unit -> bool
  member ShouldSerializer : unit -> bool
  member ShouldSerializeradialaxis : unit -> bool
  member ShouldSerializeshowlegend : unit -> bool
  member ShouldSerializestream : unit -> bool
  member ShouldSerializet : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.Area

--------------------
new : unit -> Area
property Area.r: seq<float>
property Area.t: seq<obj>
val areaTrace2 : Area

Full name: Plotly-polar-charts.areaTrace2
val areaTrace3 : Area

Full name: Plotly-polar-charts.areaTrace3
val areaTrace4 : Area

Full name: Plotly-polar-charts.areaTrace4
val areaData : Data

Full name: Plotly-polar-charts.areaData
val areaLayout : Layout

Full name: Plotly-polar-charts.areaLayout
Multiple items
type Legend =
  new : unit -> Legend
  member ShouldSerializebgcolor : unit -> bool
  member ShouldSerializebordercolor : unit -> bool
  member ShouldSerializeborderwidth : unit -> bool
  member ShouldSerializefont : unit -> bool
  member ShouldSerializetraceorder : unit -> bool
  member ShouldSerializex : unit -> bool
  member ShouldSerializexanchor : unit -> bool
  member ShouldSerializexref : unit -> bool
  member ShouldSerializey : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.Legend

--------------------
new : unit -> Legend
Multiple items
type RadialAxis =
  new : unit -> RadialAxis
  member ShouldSerializedomain : unit -> bool
  member ShouldSerializeendpadding : unit -> bool
  member ShouldSerializeorientation : unit -> bool
  member ShouldSerializerange : unit -> bool
  member ShouldSerializeshowline : unit -> bool
  member ShouldSerializeshowticklabels : unit -> bool
  member ShouldSerializetickcolor : unit -> bool
  member ShouldSerializeticklen : unit -> bool
  member ShouldSerializetickorientation : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.RadialAxis

--------------------
new : unit -> RadialAxis
Fork me on GitHub