From 6f9622ccc0eb4f54bc7d1a28d0a18fb57eb38b4c Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Thu, 19 May 2022 18:54:05 +0100 Subject: [PATCH] doc: Fix indentation on gnuplot.rst --- doc/manual/source/gnuplot.rst | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/manual/source/gnuplot.rst b/doc/manual/source/gnuplot.rst index 171c6f545..fcff8af26 100644 --- a/doc/manual/source/gnuplot.rst +++ b/doc/manual/source/gnuplot.rst @@ -268,22 +268,22 @@ was created using the following code from gnuplot-example.cc: :: // Create the 3-D dataset. for (x = -5.0; x <= +5.0; x += 1.0) { - for (y = -5.0; y <= +5.0; y += 1.0) - { - // Calculate the 3-D surface - // - // 2 2 - // z = x * y . - // - z = x * x * y * y; + for (y = -5.0; y <= +5.0; y += 1.0) + { + // Calculate the 3-D surface + // + // 2 2 + // z = x * y . + // + z = x * x * y * y; - // Add this point. - dataset.Add (x, y, z); - } + // Add this point. + dataset.Add (x, y, z); + } - // The blank line is necessary at the end of each x value's data - // points for the 3-D surface grid to work. - dataset.AddEmptyLine (); + // The blank line is necessary at the end of each x value's data + // points for the 3-D surface grid to work. + dataset.AddEmptyLine (); } // Add the dataset to the plot.