Good afternoon.
How can I split a graph title into 2 rows when the title is too long?
Additionally, if I am putting together some graphs into a plotLayout, how can add a common tittle to all the graphs?
1 Answer
0
You can use html to add a "newline" (or line break) to your title using plotSetTitle
. For example:
struct plotControl myPlot; myPlot = plotGetDefaults("xy"); plotSetTitle(&myPlot, "This is the first line<br/>Now we are on the second"); x = { 1, 2, 3 }; plotXY(myPlot, x, x);
You can use plotAddTextBox
to add a common title to a set of tiled graphs.
Your Answer
1 Answer
0
You can use html to add a "newline" (or line break) to your title using plotSetTitle
. For example:
struct plotControl myPlot; myPlot = plotGetDefaults("xy"); plotSetTitle(&myPlot, "This is the first line<br/>Now we are on the second"); x = { 1, 2, 3 }; plotXY(myPlot, x, x);
You can use plotAddTextBox
to add a common title to a set of tiled graphs.