Thread: modern mathplot library in c

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    82

    modern mathplot library in c

    Hi,
    I don't usually ask whether anybody knows of a certain software, because google usually throws it up, but in this case I am, because there is quite alot of old mathematical plotting stuff, and I wanted a library in c, that's been updated recently. Something like python's matplotlib in c.
    - gnuplot is really for interactive use.
    - gdl, c++
    - plotutils last update 2000.
    Anybody any suggestions? I want to call it from a c prog.
    cheers!

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    I know a lot of people who would disagree with the statement "gnuplot is really for interactive use". (In fact, I am one.)

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    82
    hi tabstop,
    sorry wrong word. sure, scripting gnuplot is great. it's great software, no question.
    I had just been trying Nicolas Devillard's c-interfaces .. again good stuff, but not quite what I was looking for.
    that's all. cheers.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What about using the Python code - either directly by using the C to Python interface, or if the python is really C code that has a python layer, you could probably rip the python layer off and get a nice functionality.

    I'd expect that there's little difference between the C and Python speed-wise, since most of the work is either shuffling data (which hopefully isn't very bad in Python) or actual drawing (which is definitely not done in Pythin itself, so therefore will be done in C or C++, and most likely with hardware help).

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    Mar 2008
    Posts
    82
    good ideas matsp, will investigate. Cheers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What's an import library?
    By chiefmonkey in forum C++ Programming
    Replies: 1
    Last Post: 06-19-2009, 05:00 PM
  2. Property Set Library (PSL) - Announcement
    By vultur_gryphus in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 05-29-2008, 06:04 AM
  3. Makefile for a library
    By sirmoreno in forum Linux Programming
    Replies: 5
    Last Post: 06-04-2006, 04:52 AM
  4. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 07:55 AM
  5. better c string functions
    By samps005 in forum C Programming
    Replies: 8
    Last Post: 11-04-2003, 01:28 PM