diff options
Diffstat (limited to 'Build/source/utils/asymptote/doc/filegraph.asy')
-rw-r--r-- | Build/source/utils/asymptote/doc/filegraph.asy | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/doc/filegraph.asy b/Build/source/utils/asymptote/doc/filegraph.asy new file mode 100644 index 00000000000..0add531a3e0 --- /dev/null +++ b/Build/source/utils/asymptote/doc/filegraph.asy @@ -0,0 +1,15 @@ +import graph; + +size(200,150,IgnoreAspect); + +file in=input("filegraph.dat").line(); +real[][] a=in; +a=transpose(a); + +real[] x=a[0]; +real[] y=a[1]; + +draw(graph(x,y),red); + +xaxis("$x$",BottomTop,LeftTicks); +yaxis("$y$",LeftRight,RightTicks); |