diff options
Diffstat (limited to 'Build/source/utils/asymptote/doc/datagraph.asy')
-rw-r--r-- | Build/source/utils/asymptote/doc/datagraph.asy | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/doc/datagraph.asy b/Build/source/utils/asymptote/doc/datagraph.asy new file mode 100644 index 00000000000..299b1594a0f --- /dev/null +++ b/Build/source/utils/asymptote/doc/datagraph.asy @@ -0,0 +1,12 @@ +import graph; + +size(200,150,IgnoreAspect); + +real[] x={0,1,2,3}; +real[] y=x^2; + +draw(graph(x,y),red); + +xaxis("$x$",BottomTop,LeftTicks); +yaxis("$y$",LeftRight, + RightTicks(Label(fontsize(8)),new real[]{0,4,9})); |