genPlotTitleCmd function

Generate a string to add a title to a plot