Hi all,
I am using gnuplot 5.0 stable version on Ubuntu 14.04 and I'm trying to generate a parallel axes plot of a dataset with 10 columns. However, gnuplot is crashing (Segmentation fault (core dumped)) when I try to plot more than 8 axes, even though the limit to the maximum number of axes is set as 12 in the source code (MAX_PARALLEL_AXES = MAX_NUM_VAR = 12). I tried on windows and it crashed too. I attached the dataset I'm using.
Thanks and sorry if I'm missing something.
Bernardo
You're not missing anything, although you've misinterpreted the naming intent of the MAX_* defined constants. (For what it's worth: MAX_PARALLEL_AXES is the largest allowable index into the array of axis properties, just as SECOND_Y_AXIS is the index of a particular entry in that same array).
Version 5.0 has a built-in limit of 7 parallel axes.
That was intended, although there has been recent discussion on the gnuplot-beta mailing list about how difficult (or not) it would be to remove that limitation.
Unfortunately this limit was poorly documented, and even more unfortunately the program fails to check everywhere it should that the limit is not exceeded. This bug has already been reported and fixed, but I think the previous report did not come via a Bug Tracker item so I won't mark the current tracker item as a duplicate.
thanks for the report
Thank you for the quick reply!
The limit of 7 parallel axes is now relaxed partially in 5.1 CVS. There is currently a separate limit that kicks in because each axis takes up a slot in the "using" spec, but that also may be relaxed in a later change.