File:Absolute Value.svg

Description
Čeština: Graf funkce absolutní hodnoty na .
Deutsch: Verlauf der Absolutbetragsfunktion auf .
English: Graph of the absolute value function on .
Español: Gráfica de la función valor absoluto sobre .
Esperanto: Grafikaĵo de la funkcio de absoluta valoro sur .
Français: Graphique de la fonction valeur absolue sur .
Italiano: Grafico della funzione valore assoluto su .
Date
Source Own work
Author Lennart Kudling
Permission
(Reusing this file)
Released into the public domain (by the author).
SVG development
InfoField
Source code
InfoField

Asymptote code

import graph;
import settings;
outformat="pdf";

size(300,300);

// Function.
real f(real x) {return x > 0 ? x : -x; }
draw(graph(f,-4,4),red+2);
label(scale(1.3)*"$y=|x|$",(3,2),red);

// Axes.
xaxis( Label("$x$"), Ticks(new real[]{-3,-2,-1,1,2,3}), Arrow, xmin=-4, xmax=4);
yaxis( Label("$y$"), Ticks(new real[]{1,2,3}), Arrow, ymin=-0.5, ymax=4);
// Origin.
labelx("$O$",0,SW);

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Category:Self-published work#Absolute%20Value.svgCategory:PD-self#Absolute%20Value.svg Category:Absolute value
Category:Absolute value Category:PD-self Category:Self-published work Category:Valid SVG created with Asymptote code