Last active
January 13, 2019 20:37
-
-
Save cbassa/dda93e801cf417fbab92c23badb07c81 to your computer and use it in GitHub Desktop.
PGPLOT test code. Build with "gcc test_pgplot.c -lX11 -lcpgplot -lpgplot -lm -o test_pgplot"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <cpgplot.h> | |
int main(int argc,char *argv[]) | |
{ | |
cpgopen("?"); | |
cpgend(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get this error compiling it https://gist.github.com/wgaylord/b90397a806f15e04192a4c2ad122f554
Seems like pgplot didn't compile correctly or something.