Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug report - pgsci() in perl-pgplot test scripts #4

Open
karlglazebrook opened this issue Oct 21, 2018 · 1 comment
Open

bug report - pgsci() in perl-pgplot test scripts #4

karlglazebrook opened this issue Oct 21, 2018 · 1 comment

Comments

@karlglazebrook
Copy link

Hi Daniel,

This is the first of a series of bug reports vs my perl-pgplot test suite. If you have this module installed (https://metacpan.org/pod/PGPLOT) you can just run the scripts to show the bug. I can't really convert all the scripts to equivalent C code to show the bug. But I will comment on which pgplot functions are producing the wrong result.

First one is really minor, from the script test1.p

When I run this (i.e. 'perl test1.p') I get incorrect colours using giza 1.0.0.

It seems this is simply because cpgsci(5) produces black rather than cyan.

Karl

@karlglazebrook
Copy link
Author

Confirming this is still there in v1.1
OK I checked them all just to be anal - incorrect pgsci(n) colours on X11 device:

5 - looks black, should be cyan in real pgplot
7 - produces cyan, should be yellow
9 - I think this is supposed to be a lighter green than 3. Looks the same?
10 - tan colour, pgplot makes this some other kind of green
11 - light green - should be steel blue
12 - steel blue - should be purple
13 - burnt red - should be pink
14 - pink - should be dark grey
15 - dark grey - should be light grey

See correct colours in picture at: https://heasarc.gsfc.nasa.gov/docs/xanadu/ximage/pgplot/quickref.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant