--- myst: substitutions: bloc: python: 14-15,18 cpp: 4,12,14 --- # Graph 2D "profile" It consists in partitioning the "x" axis with a number of *bins* and in plotting, for each segment, the mean value in blue and the standard deviation by a black line. The number of segments N is passed as an option with the formalism **nclass=N**. We can also visualise the scatterplot just below the profile plot, by adding the option "same" (resulting in the red points also shown in {numref}`dataserver_geyser_profile_2vs1`). {{ "```{literalinclude} " + parent_dir + "/roottest/uranie/doc/dataserver/vizualisation/" + language + "/draw_geyser_profile_2vs1." + extension + "\n" + ":language: " + language + "\n" + ":lines: " + bloc[language] + "\n" + "```" }} {{ "```{" "figure" "} " + parent_dir + "/roottest/build/uranie/doc/dataserver/vizualisation/" + language + "/geyser_6/geyser_profile_2vs1.png\n" ":align: center\n" ":name: dataserver_geyser_profile_2vs1\n" + figure_scale + "\n" "\n" "Scatterplot between attributes x1 and x2 of the " + tds + " `geyser`.\n" "```" }}