From: Yuan, F. <fan...@tt...> - 2012-11-16 15:55:12
|
I installed plplot11 in Ubuntu 11.10. I use plline() in the subroutine xy_plt1 of "gsa.h" file, they keep warned me as follows: ./gsa.h: In function ‘xy_plt1’: ./gsa.h:167:4: warning: passing argument 2 of ‘c_plline’ from incompatible pointer type [enabled by default] /usr/include/plplot/plplot.h:1260:1: note: expected ‘const PLFLT *’ but argument is of type ‘float *’ ./gsa.h:167:4: warning: passing argument 3 of ‘c_plline’ from incompatible pointer type [enabled by default] /usr/include/plplot/plplot.h:1260:1: note: expected ‘const PLFLT *’ but argument is of type ‘float *’ void xy_plt1 ( int nn, float xn[], float yn[]) The commends I used in plline is: plline( nn, xn, yn); The plline only draw one string line. Does anyone know how to fix it? Gabrielle |