I am trying to install GR library for C on Ubuntu 18.04, I followed the steps mentioned on the website here. This did not work and gave the error :
foo.c:1:10: fatal error: gr.h: No such file or directory
I also tried source install from git mentioned here but it gives the same error.
I also tried using GR prebuilt binaries using this command : gcc -L/home/alu57202/Downloads/gr/lib -I/home/alu57202/Downloads/gr/include -lGR foo.c
This command recognizes gr but then gives the following error :
/tmp/cckVLH59.o: In function
foo.c:(.text+0xc0): undefined reference togr_polyline'
foo.c:(.text+0xd5): undefined reference to
foo.c:(.text+0xef): undefined reference togr_tick'
foo.c:(.text+0x11f): undefined reference to `gr_axes'
collect2: error: ld returned 1 exit status
Can anyone help me regarding this?
@jheinen is it possible to explicitly set the X/Y co-ordinates on the axes and not rely solely on the parameters passed to
It's on our TODO list ...
p = plot([sin, cos], zeros(0), leg=false)produces and displays an empty frame which then on the effort to start the animation, closes