# HG changeset patch # User Markus Mützel # Date 1547905469 -3600 # Node ID 49eae759a3e2bdee40f222a9a7e1829a5b489eee # Parent 3e7fa894731a354f922906009938c0a9fe1243fd documentation: Slightly change figure with Voronoi diagram. * geometryimages.m: Omit legend that was covering a large part of the figure. Use equal axis scaling to make the circle look non-elliptic. * geometry.txi: Reference colors in caption of figure. diff -r 3e7fa894731a -r 49eae759a3e2 doc/interpreter/geometry.txi --- a/doc/interpreter/geometry.txi Sat Jan 19 11:39:49 2019 +0100 +++ b/doc/interpreter/geometry.txi Sat Jan 19 14:44:29 2019 +0100 @@ -313,7 +313,8 @@ @float Figure,fig:voronoi @center @image{voronoi,4in} -@caption{Delaunay triangulation and Voronoi diagram of a random set of points} +@caption{Delaunay triangulation (blue lines) and Voronoi diagram (red lines) +of a random set of points} @end float @end ifnotinfo diff -r 3e7fa894731a -r 49eae759a3e2 doc/interpreter/geometryimages.m --- a/doc/interpreter/geometryimages.m Sat Jan 19 11:39:49 2019 +0100 +++ b/doc/interpreter/geometryimages.m Sat Jan 19 14:44:29 2019 +0100 @@ -51,7 +51,8 @@ yc = r * cos (pi*pc) + c(2); plot (xc, yc, "g-", "LineWidth", 3); axis ([0, 1, 0, 1]); - legend ("Delaunay Triangulation", "Voronoi Diagram"); + set (gca, "dataaspectratio", [1, 1, 1], + "plotboxaspectratio", [1, 1, 1]); print (outfile, d_typ); elseif (strcmp (nm, "triplot")) rand ("state", 2)