From 9ac06ca23dc618e399db851fa6e2e3c59c94f9b7 Mon Sep 17 00:00:00 2001 From: Rik Date: Sat, 23 Nov 2024 13:22:36 -0800 Subject: [PATCH] doc: Eliminate double period at end of "mode" graphics property documentation. * genpropdoc.m: Use bare "__modemsg__" rather than "__modemsg__." since the expansion of the macro already includes a period. --- doc/interpreter/genpropdoc.m | 48 ++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/doc/interpreter/genpropdoc.m b/doc/interpreter/genpropdoc.m index dee0ec602e..1d938af695 100644 --- a/doc/interpreter/genpropdoc.m +++ b/doc/interpreter/genpropdoc.m @@ -580,7 +580,7 @@ position and size of the figure (in @code{paperunits} units) on the printed \ figure on the page, and the size is defined by @code{[width height]}. For \ output formats not implicitly rendered on paper, @code{width} and \ @code{height} define the size of the image and the position information is \ -ignored. __modemsg__."; +ignored. __modemsg__"; s.valid = valid_4elvec; s.category = "Printing/Saving"; @@ -649,7 +649,7 @@ element defines a pixel with the element (1,1) representing the \ case "renderer" s.doc = "Rendering engine used for printing when @code{renderermode} \ -is @qcode{\"manual\"}. __modemsg__."; +is @qcode{\"manual\"}. __modemsg__"; s.category = "Printing/Saving"; case "renderermode" @@ -823,7 +823,7 @@ element defines a pixel with the element (1,1) representing the \ case "cameraposition" s.doc = "Coordinates of the camera position viewing the \ -__objname__. __modemsg__."; +__objname__. __modemsg__"; s.valid = valid_3elvec; s.category = "Camera and View Controls"; @@ -836,7 +836,7 @@ element defines a pixel with the element (1,1) representing the \ case "cameratarget" s.doc = "Coordinates of the point at which the viewing camera is \ -aimed. __modemsg__."; +aimed. __modemsg__"; s.valid = valid_3elvec; s.category = "Camera and View Controls"; @@ -850,7 +850,7 @@ element defines a pixel with the element (1,1) representing the \ case "cameraupvector" s.doc = "A 3-element vector defining the upward direction of the \ current view. Note that the default is [0 1 0] for 2-D plots and [0 0 1] for \ -3-D plots. __modemsg__."; +3-D plots. __modemsg__"; s.valid = valid_3elvec; s.category = "Camera and View Controls"; @@ -863,7 +863,7 @@ element defines a pixel with the element (1,1) representing the \ case "cameraviewangle" s.doc = "The camera's field of view defined as an angle between 0 \ -and 180 degrees. __modemsg__."; +and 180 degrees. __modemsg__"; s.valid = "scalar"; s.category = "Camera and View Controls"; @@ -877,7 +877,7 @@ element defines a pixel with the element (1,1) representing the \ case "clim" s.doc = "Define limits for the color axis of __objname__ \ children that have the @qcode{cdata} property. \ -__modemsg__."; +__modemsg__"; s.valid = valid_2elvec; s.category = "Color and Transparency"; @@ -942,7 +942,7 @@ element defines a pixel with the element (1,1) representing the \ displayed in the axes. Setting @code{dataaspectratio} to \ @w{@code{[1, 2]}} causes the length of one unit as displayed on the x-axis \ to be the same as the length of 2 units on the y-axis. \ -@xref{XREFdaspect, , daspect function}. __modemsg__."; +@xref{XREFdaspect, , daspect function}. __modemsg__"; s.valid = valid_3elvec; s.category = "Axes Box Appearance"; @@ -964,7 +964,7 @@ element defines a pixel with the element (1,1) representing the \ s.category = "Text Appearance"; case "fontsize" - s.doc = [doc_fontsize, " __modemsg__."]; + s.doc = [doc_fontsize, " __modemsg__"]; s.valid = "scalar"; s.category = "Text Appearance"; @@ -997,7 +997,7 @@ element defines a pixel with the element (1,1) representing the \ case "gridcolor" s.doc = "Color of the major grid lines. \ -@xref{Colors, , colorspec}. __modemsg__."; +@xref{Colors, , colorspec}. __modemsg__"; s.valid = packopt ({markdef(valid_color), "@qcode{\"none\"}"}); s.category = "Axes Grid Appearance"; @@ -1070,7 +1070,7 @@ element defines a pixel with the element (1,1) representing the \ case "minorgridcolor" s.doc = "Color of the minor grid lines. \ -@xref{Colors, , colorspec}. __modemsg__."; +@xref{Colors, , colorspec}. __modemsg__"; s.valid = packopt ({markdef(valid_color), "@qcode{\"none\"}"}); s.category = "Axes Grid Appearance"; @@ -1119,7 +1119,7 @@ element defines a pixel with the element (1,1) representing the \ s.category = "Object Position"; case "plotboxaspectratio" - s.doc = "@xref{XREFpbaspect, , pbaspect function}. __modemsg__."; + s.doc = "@xref{XREFpbaspect, , pbaspect function}. __modemsg__"; s.category = "Object Position"; case "plotboxaspectratiomode" @@ -1172,7 +1172,7 @@ element defines a pixel with the element (1,1) representing the \ s.doc = "Control whether axes tick marks project @qcode{\"in\"} to \ the plot box or @qcode{\"out\"}. The value @qcode{\"both\"} will draw tick \ marks both in and out. The value @qcode{\"none\"} means no tick marks will \ -be drawn, although tick labels will still be rendered. __modemsg__. Note \ +be drawn, although tick labels will still be rendered. __modemsg__ Note \ that the default is @qcode{\"in\"} for 2-D and @qcode{\"out\"} for 3-D \ plots."; s.category = "Axes Box Appearance"; @@ -1246,7 +1246,7 @@ element defines a pixel with the element (1,1) representing the \ case "xcolor" s.doc = "Color of the x-axis. @xref{Colors, , colorspec}. \ -__modemsg__."; +__modemsg__"; s.valid = packopt ({markdef(valid_color), "@qcode{\"none\"}"}); s.category = "Axes Box Appearance"; @@ -1276,7 +1276,7 @@ element defines a pixel with the element (1,1) representing the \ case "xlim" s.doc = "Two-element vector @code{[xmin xmax]} specifying the limits \ -for the x-axis. __modemsg__. @xref{XREFxlim, , @w{xlim function}}."; +for the x-axis. __modemsg__ @xref{XREFxlim, , @w{xlim function}}."; s.valid = valid_2elvec; s.category = "Axes Box Appearance"; @@ -1310,13 +1310,13 @@ element defines a pixel with the element (1,1) representing the \ s.category = "Axes Grid Appearance"; case "xtick" - s.doc = "Position of x tick marks. __modemsg__."; + s.doc = "Position of x tick marks. __modemsg__"; s.valid = "vector"; s.printdefault = false; s.category = "Axes Box Appearance"; case "xticklabel" - s.doc = "Labels of x tick marks. __modemsg__."; + s.doc = "Labels of x tick marks. __modemsg__"; s.valid = valid_cellstring; s.category = "Text Appearance"; @@ -1375,7 +1375,7 @@ element defines a pixel with the element (1,1) representing the \ case "ylim" s.doc = "Two-element vector @code{[ymin ymax]} specifying the limits \ -for the y-axis. __modemsg__. @xref{XREFylim, , @w{ylim function}}."; +for the y-axis. __modemsg__ @xref{XREFylim, , @w{ylim function}}."; s.valid = valid_2elvec; s.category = "Axes Box Appearance"; @@ -1409,13 +1409,13 @@ element defines a pixel with the element (1,1) representing the \ s.category = "Axes Grid Appearance"; case "ytick" - s.doc = "Position of y tick marks. __modemsg__."; + s.doc = "Position of y tick marks. __modemsg__"; s.valid = "vector"; s.printdefault = false; s.category = "Axes Box Appearance"; case "yticklabel" - s.doc = "Labels of y tick marks. __modemsg__."; + s.doc = "Labels of y tick marks. __modemsg__"; s.valid = valid_cellstring; s.category = "Text Appearance"; @@ -1470,7 +1470,7 @@ element defines a pixel with the element (1,1) representing the \ case "zlim" s.doc = "Two-element vector @code{[zmin zmax]} specifying the limits \ -for the z-axis. __modemsg__. @xref{XREFzlim, , @w{zlim function}}."; +for the z-axis. __modemsg__ @xref{XREFzlim, , @w{zlim function}}."; s.valid = valid_2elvec; s.category = "Axes Box Appearance"; @@ -1504,13 +1504,13 @@ element defines a pixel with the element (1,1) representing the \ s.category = "Axes Grid Appearance"; case "ztick" - s.doc = "Position of z tick marks. __modemsg__."; + s.doc = "Position of z tick marks. __modemsg__"; s.valid = "vector"; s.printdefault = false; s.category = "Axes Box Appearance"; case "zticklabel" - s.doc = "Labels of z tick marks. __modemsg__."; + s.doc = "Labels of z tick marks. __modemsg__"; s.valid = valid_cellstring; s.category = "Text Appearance"; @@ -1596,7 +1596,7 @@ automatically when objects are added to (or deleted from) the peer axes.\n\ legend (\"numcolumns\", 3);\n\ @end group\n\ @end example\n\ -__modemsg__."; +__modemsg__"; s.valid = "scalar integer"; s.category = "Layout";