Git Product home page Git Product logo

gnuplot_i's Introduction

gnuplot_i


This is a fork of gnuplot_i, from version 2.11

Nothing fun there :P

gnuplot_i's People

Contributors

pingplug avatar

Stargazers

Jeff Valcher avatar Richard avatar  avatar Ulrich Becker avatar  avatar Joshua D. John avatar

Watchers

James Cloos avatar  avatar

gnuplot_i's Issues

FORK

Hi,

I was rewriting and improving gnuplot_i to use it in my library. You did a great job.

Although my library is mostly LGPL-2.0-only, I'll keep that part in the public domain as respect to you and the original author, and because that way you can benefit from any improvements you find in mine.

I'm mentioning you if you have no problem with that.

That code is written in GNU17 (C17 + GNU extensions), although I don't use many GNU extensions there.

The links to the code are here:

The main library link, which you already have: https://github.com/alejandro-colomar/libalx
And the rest of the links, which might change some day, but not expected as of now:
Sources: https://github.com/alejandro-colomar/libalx/tree/master/src/extra/plot
Headers: https://github.com/alejandro-colomar/libalx/tree/master/include/libalx/extra/plot
Makefile: https://github.com/alejandro-colomar/libalx/blob/master/mk/tmp/extra/plot/Makefile

Feel free to read through the code and comment anything :)

Kind regards,

Alex.

BUG: Warning when compiling tests

$ make tests
gcc -O3 -I./src -o test/anim test/anim.c gnuplot_i.o
gcc -O3 -I./src -o test/example test/example.c gnuplot_i.o
gcc -O3 -I./src -lm -o test/png test/png.c gnuplot_i.o
test/png.c: In function ‘main’:
test/png.c:42:53: warning: passing argument 6 of ‘gnuplot_plot_x_multi_y’ from incompatible pointer type [-Wincompatible-pointer-types]
   42 |  gnuplot_plot_x_multi_y(g, x, y, N_POINTS, N_LINES, t);
      |                                                     ^
      |                                                     |
      |                                                     char **
In file included from test/png.c:7:
./src/gnuplot_i.h:408:18: note: expected ‘const char **’ but argument is of type ‘char **’
  408 |     const char** title);
      |     ~~~~~~~~~~~~~^~~~~

This is without changing the Makefile

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.