]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bb-matrix-plot.sh: Show underscores correctly in labels
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Thu, 19 Oct 2023 16:04:37 +0000 (18:04 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Oct 2023 09:45:26 +0000 (10:45 +0100)
Underscores previously caused the next character in the label to be
printed using subscript due to the enhanced string support in gnuplot.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
scripts/contrib/bb-perf/bb-matrix-plot.sh

index e7bd129e9ed838e50197261554db3e0103cb5fa5..6672189c95f24997ab87f88e6dd5bb5b37959f7a 100755 (executable)
@@ -16,8 +16,8 @@
 
 # Setup the defaults
 DATFILE="bb-matrix.dat"
-XLABEL="BB_NUMBER_THREADS"
-YLABEL="PARALLEL_MAKE"
+XLABEL="BB\\\\_NUMBER\\\\_THREADS"
+YLABEL="PARALLEL\\\\_MAKE"
 FIELD=3
 DEF_TITLE="Elapsed Time (seconds)"
 PM3D_FRAGMENT="unset surface; set pm3d at s hidden3d 100"