Skip to content

Instantly share code, notes, and snippets.

@cbassa
Last active January 13, 2019 20:37
Show Gist options
  • Save cbassa/dda93e801cf417fbab92c23badb07c81 to your computer and use it in GitHub Desktop.
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"
#include <stdio.h>
#include <cpgplot.h>
int main(int argc,char *argv[])
{
cpgopen("?");
cpgend();
return 0;
}
@wgaylord
Copy link

I get this error compiling it https://gist.github.com/wgaylord/b90397a806f15e04192a4c2ad122f554

Seems like pgplot didn't compile correctly or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment