Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/Geometry/graph

Index

Functions

axis

  • axis(): void

create2DGraph

  • create2DGraph(eqn: Function, x?: number, y?: number, svgWidth?: number, svgHeight?: number): Graph2D
  • create2DGraph function creates a graph object and return graph object

    Parameters

    • eqn: Function

      function to plot

    • x: number = 10
    • y: number = 10
    • svgWidth: number = 300
    • svgHeight: number = 300

    Returns Graph2D

    2D Graph object

createSVGPath

  • createSVGPath(eqn: Function, config: any): string
  • createSVGPath function creates a graph object and returns graph object

    Parameters

    • eqn: Function

      function to plot

    • config: any

    Returns string

    2D Graph object

plot2D

  • plot2D(eqn: Function): void

Generated using TypeDoc