Skip to content

PLPlot bugs within command line apps #3

@StuartLittlefair

Description

@StuartLittlefair

Steps to reproduce:

  1. Install PLPlot using home-brew (brew install plplot)
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions