summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2023-10-19 18:04:37 +0200
committerSteve Sakoman <steve@sakoman.com>2023-11-16 04:40:16 -1000
commita8039d601187b28d9cec4402c9e0bd72b2805eb2 (patch)
treee0e3d7cfabea3a60f2ced0e4f60b0ee81de4d9cf
parent82215c855ee39b4e39f24113241a7fb3f20f9531 (diff)
downloadopenembedded-core-a8039d601187b28d9cec4402c9e0bd72b2805eb2.tar.gz
bb-matrix-plot.sh: Show underscores correctly in labels
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> (cherry picked from commit 282b48f90f77e0766993018d22fe03dd303febdc) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rwxr-xr-xscripts/contrib/bb-perf/bb-matrix-plot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/contrib/bb-perf/bb-matrix-plot.sh b/scripts/contrib/bb-perf/bb-matrix-plot.sh
index e7bd129e9e..6672189c95 100755
--- a/scripts/contrib/bb-perf/bb-matrix-plot.sh
+++ b/scripts/contrib/bb-perf/bb-matrix-plot.sh
@@ -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"