ASCIIsvg - vektorska grafika na web-stranici

Za ispravan prikaz stranice koristite Internet Explorer s dodatkom Adobe SVGviewer ili Mozillu Firefox 2.0 +

agraph width=200; height=200; ymin=-4; ymax=6; xscl=1;
axes(); fill="yellow"; fillopacity=0.5; sector([0,0],[5,0],[0,5] ,1); fill="purple"; fillopacity=0.5; sector([0,0],[3.53, 3.53],[-3.53,3.53],2); fill="blue"; fillopacity=0.8; sector([0,0],[-3.53, 3.53],[-5,0],3);endgraph
agraph width=300; height=200; xscl=1; ymin=-1.5; axes(); endpoints = "->"; plot(x^2,-2,2.3); text((-3,3),"`x^2`"); line((-4,-1),(4,3)); text((2,1),"$\\frac{1}{2}x+1$","right"); endgraph agraph width=200; height=200; border=25; xmin=-1; xmax=6; xscl=1; ymin=-1; axes(); plot(sin(x)+2.5); a = [0,0]; b = [5,5]; marker = "dot"; line(a,b); text(b,"b",aboveleft); stroke = "red"; path([a,[0,5],b,[5,0]]); stroke = "green"; marker = "none"; curve([a,[.25,0],[.5,.5],[1,1],[1.5,1.5]]); stroke = "blue"; circle([5,0],1); ellipse([0,5],1,2); stroke = "purple"; rect([0,0],[2,2],null,.5,1); marker = "arrowdot"; line(a,[5,0]); endgraph
agraph width=200; height=100; axes(); endpoints = "<->"; plot(2sin(x),-4,4); dot([0,0]); point([pi/2,2]); b=text([pi,0],"korijen",aboveright); dot(b,"closed"); endgraph agraph width=500; height=100; xmin=-8; xmax=6.3; axes(); plot(2x*sin(1/x)-1,null,null,1000); endgraph

Dvostruki klik na sliku omogućuje pogled u kod ili čak njegovu izmjenu. Istovremeno držanje tipki Shift ili Alt s dvostrukim klikom omogućuje zumiranje. Crteže generira skripta ASCIIMathML.js pri učitavanju stranice. Ove i druge primjere naći ćete na autorovom wikiju Math etc.

 Početna | Formule | Kalkulator | Grafovi || Naslovnica Normala