XPlot


Multiple Chart Types

A Contour and Scatter Plot of the Method of Steepest Descent

 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: 
let trace1 =
    Contour(
        z = z1,
        x = x1,
        y = y1,
        ncontours = 30.,
        showscale = false
    )

let trace2 =
    Scatter(
        x = x2,
        y = y2,
        mode = "markers+lines",
        name = "steepest",
        line = Line(color = "black")
    )

let multiData1 = Data([trace1; trace2])

let title = "A Contour and Scatter Plot of the Method of Steepest Descent"

let multiLayout1 = Layout(title = title)

Figure(multiData1, multiLayout1)

Line Chart and a Bar Chart

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
let trace1' =
    Scatter(
        x = [0; 1; 2; 3; 4; 5],
        y = [1.5; 1.; 1.3; 0.7; 0.8; 0.9]
    )

let trace2' =
    Bar(
        x = [0; 1; 2; 3; 4; 5],
        y = [1.; 0.5; 0.7; -1.2; 0.3; 0.4]
    )

let multiData' = Data([trace1'; trace2'])

let multiLayout' = Layout(title = "Line Chart and a Bar Chart")

Figure(multiData', multiLayout')
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 z1 : float list list

Full name: Plotly-multiple-chart-types.z1
val x1 : float list

Full name: Plotly-multiple-chart-types.x1
val y1 : float list

Full name: Plotly-multiple-chart-types.y1
val x2 : float list

Full name: Plotly-multiple-chart-types.x2
val y2 : float list

Full name: Plotly-multiple-chart-types.y2
val trace1 : Contour

Full name: Plotly-multiple-chart-types.trace1
Multiple items
type Contour =
  inherit Trace
  new : unit -> Contour
  member ShouldSerializeautocontour : unit -> bool
  member ShouldSerializecolorbar : unit -> bool
  member ShouldSerializecolorscale : unit -> bool
  member ShouldSerializeconnectgaps : unit -> bool
  member ShouldSerializecontours : unit -> bool
  member ShouldSerializedx : unit -> bool
  member ShouldSerializedy : unit -> bool
  member ShouldSerializeline : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.Contour

--------------------
new : unit -> Contour
property Contour.z: obj
property Contour.x: obj
property Contour.y: obj
val trace2 : Scatter

Full name: Plotly-multiple-chart-types.trace2
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.x: obj
property Scatter.y: obj
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 multiData1 : Data

Full name: Plotly-multiple-chart-types.multiData1
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 title : string

Full name: Plotly-multiple-chart-types.title
val multiLayout1 : Layout

Full name: Plotly-multiple-chart-types.multiLayout1
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 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 trace1' : Scatter

Full name: Plotly-multiple-chart-types.trace1'
val trace2' : Bar

Full name: Plotly-multiple-chart-types.trace2'
Multiple items
type Bar =
  inherit Trace
  new : unit -> Bar
  member ShouldSerializeerror_x : unit -> bool
  member ShouldSerializeerror_y : unit -> bool
  member ShouldSerializemarker : unit -> bool
  member ShouldSerializename : unit -> bool
  member ShouldSerializeopacity : unit -> bool
  member ShouldSerializeorientation : unit -> bool
  member ShouldSerializer : unit -> bool
  member ShouldSerializeshowlegend : unit -> bool
  ...

Full name: XPlot.Plotly.Graph.Bar

--------------------
new : unit -> Bar
property Bar.x: obj
property Bar.y: obj
val multiData' : Data

Full name: Plotly-multiple-chart-types.multiData'
val multiLayout' : Layout

Full name: Plotly-multiple-chart-types.multiLayout'
Fork me on GitHub