Hauptseite: Unterschied zwischen den Versionen

Aus ichbinein.org Wiki
Wechseln zu: Navigation, Suche
Zeile 21: Zeile 21:
 
\qquad
 
\qquad
 
\dfrac{2}{ c + \dfrac{2}{ d + \dfrac{1}{2} } } = a</math>
 
\dfrac{2}{ c + \dfrac{2}{ d + \dfrac{1}{2} } } = a</math>
 +
 +
 +
<strong>Graph wurde installiert.</strong>
 +
 +
<graph>{
 +
  // We want to use Vega 2, and specify image size
 +
  "version": 2, "width": 300, "height": 80,
 +
  // Set padding to the same value on all sides
 +
  "padding": 12,
 +
  // By default the background is transparent
 +
  "background": "#edf1f7",
 +
 +
  "signals": [
 +
    {
 +
      "name": "isDragging",
 +
      "init": false,
 +
      "streams": [
 +
        {"type": "@handle:mousedown","expr": "true"},
 +
        {"type": "mouseup","expr": "false"}
 +
      ]
 +
    },
 +
    {
 +
      "name": "scaledHandlePosition",
 +
      "streams": [
 +
        {
 +
          "type": "mousemove[isDragging]",
 +
          "expr": "eventX()",
 +
          "scale": {"name": "yearsScale","invert": true}
 +
        }
 +
      ]
 +
    },
 +
    {
 +
      "name": "currentYear",
 +
      "init": 2000,
 +
      "expr": "clamp(parseInt(scaledHandlePosition),1960,2013)"
 +
    }
 +
  ],
 +
 +
  "scales": [
 +
    {
 +
      "name": "yearsScale",
 +
      "type": "linear",
 +
      "zero": false,
 +
      "domain": [1960, 2013],
 +
      "range": "width"
 +
    }
 +
  ],
 +
 +
  "marks": [
 +
    {
 +
      // draw the year label in the upper left corner
 +
      "name": "yearLabel",
 +
      "type": "text",
 +
      "properties": {
 +
        "enter": {
 +
          "x": {"value": 0},
 +
          "y": {"value": 25},
 +
          "fontSize": {"value": 32},
 +
          "fontWeight": {"value": "bold"},
 +
          "fill": {"value": "steelblue"}
 +
        },
 +
        "update": {"text": {"signal": "currentYear"} }
 +
      }
 +
    },
 +
    {
 +
      // Draw a horizontal line
 +
      "name": "scrollLine",
 +
      "type": "rule",
 +
      "properties": {
 +
        "enter": {
 +
          "x": {"value": 0},
 +
          "y": {"value": 40},
 +
          "x2": {"value": 300},
 +
          "stroke": {"value": "#000"},
 +
          "strokeWidth": {"value": 2}
 +
        }
 +
      }
 +
    },
 +
    {
 +
      // Draw a triangle shape with a hover effect
 +
      // naming objects allows us to reference them later
 +
      "name": "handle",
 +
      "type": "path",
 +
      "properties": {
 +
        "enter": {
 +
          "y": {"value": 40},
 +
          // path syntax is the same as SVG's path tag
 +
          "path": {"value": "m-5.5,-10l0,20l11.5,-10l-11.5,-10z"},
 +
          "stroke": {"value": "#880"},
 +
          "strokeWidth": {"value": 2.5}
 +
        },
 +
        "update": {
 +
          "x": {"scale": "yearsScale","signal": "currentYear"},
 +
          "fill": {"value": "#fff"}
 +
        },
 +
        // Change fill color of the object on mouse hover
 +
        "hover": {"fill": {"value": "#f00"} }
 +
      }
 +
    }
 +
  ]
 +
}</graph>

Version vom 10. August 2016, 14:39 Uhr

Math wurde installiert.

Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://api.formulasearchengine.com/v1/“:): {\displaystyle \overbrace{ 1+2+\cdots+100 }^{\text{sum}\,=\,5050}}

Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://api.formulasearchengine.com/v1/“:): {\displaystyle {\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}}

Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://api.formulasearchengine.com/v1/“:): {\displaystyle A \ce{->[\ce{+H2O}]} B}

Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://api.formulasearchengine.com/v1/“:): {\displaystyle \int_a^x \!\!\!\int_a^s f(y)\,dy\,ds = \int_a^x f(y)(x-y)\,dy}

Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://api.formulasearchengine.com/v1/“:): {\displaystyle f(x) = \begin{cases} 1 & -1 \le x < 0 \\ \frac{1}{2} & x = 0 \\ 1 - x^2 & \mbox{otherwise} \end{cases} }

Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://api.formulasearchengine.com/v1/“:): {\displaystyle \cfrac{2}{ c + \cfrac{2}{ d + \cfrac{1}{2} } } = a \qquad \dfrac{2}{ c + \dfrac{2}{ d + \dfrac{1}{2} } } = a}


Graph wurde installiert.