Skip to contentSkip to conversation

bb-matrix-plot.sh: Show underscores correctly in labels

PATCH New Peter Kjellerstedt 1 participant 1 message Oct 19, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 scripts/contrib/bb-perf/bb-matrix-plot.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/contrib/bb-perf/bb-matrix-plot.sh +2 -2
index e7bd129e9e..6672189c95 100755
@@ -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"