Steps to reproduce:
- Install PLPlot using home-brew (
brew install plplot)
- Run cpp-lcurve command line scripts, accept defaults.
LROCHE
*** PLPLOT ERROR, ABORTING OPERATION *** plcol0: Invalid color map entry: 5, aborting operation
Regardless of PLPlot device.
VISUALISE
*** PLPLOT ERROR, ABORTING OPERATION *** plcol0: Please call plinit first, aborting operation
The issue with LROCHE can be tracked to the if statement in L528 in lroche.cc
The use of device to set colours means that the code only works if device is set to /XS
The code in the else block should probably be removed