Moving (or rotating) variable names in TParallelCoord?


ROOT Version: 6.28/04
Platform: Red Hat 8.4.1-1
Compiler: c++ (GCC) 8.4.1


Dear ROOT Team,

Here is a minimal example of TParallelCoord: draw_parallel.C.

I used data.csv as input. And I got this figure:

How can I move variable names to the left?

This setting is not provided.

Thank you for your answer.

Do you have any workaround?

For instance, here is my hack playing with TCanvas. And I got this wide picture:

Or using vertical display:

is it possible to rotate variable names?

No it is automatic: ROOT: tree/treeviewer/src/TParallelCoordVar.cxx Source File

Thank you for the reference to the source.

Using TLatex Splitting Lines, I wrote another workaround:

What do you think? Is there a simpler solution?

Yes that’s a good option.

1 Like