Giter Site home page Giter Site logo

sailfish009 / gnuplot-iostream Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dstahlke/gnuplot-iostream

0.0 2.0 0.0 420 KB

C++ interface to gnuplot

Home Page: http://www.stahlke.org/dan/gnuplot-iostream/

Makefile 2.96% C++ 96.88% Batchfile 0.16%

gnuplot-iostream's Introduction

**********************************************************
*** Direct questions or suggestions to [email protected] ***
**********************************************************


Gnuplot-Iostream Interface
==========================

This interface allows gnuplot to be controlled from C++ and is designed to
be the lowest hanging fruit.  In other words, if you know how gnuplot works
it should only take 30 seconds to learn this library.  Basically it is just
an iostream pipe to gnuplot with some extra functions for pushing data
arrays and getting mouse clicks.  Data sources include STL containers (eg.
vector), Blitz++, and armadillo.  You can use nested data types like
std::vector<std::vector<std::pair<double, double>>> (as well as even more
exotic types).  Support for custom data types is possible.

This is a low level interface, and usage involves manually sending commands
to gnuplot using the "<<" operator (so you need to know gnuplot syntax).
This is in my opinion the easiest way to do it if you are already
comfortable with using gnuplot.  If you would like a more high level interface
check out the gnuplot-cpp library (http://code.google.com/p/gnuplot-cpp).

Documentation is available at http://www.stahlke.org/dan/gnuplot-iostream
but also you can look at the example programs (starting with
"example-misc.cc").


Getting the source code
=======================

git clone https://github.com/dstahlke/gnuplot-iostream.git


Usage
=====

See the examples source code for a quick intro.  Documentation is at
the project home page http://www.stahlke.org/dan/gnuplot-iostream .
To build examples just type 'make'.  There is an option you can edit in the
Makefile to enable extra demos that require optional libraries.


Note for Windows users
======================

Windows support basically works, but there are some troubles.  For hints, see:
	https://github.com/dstahlke/gnuplot-iostream/wiki/Portability

Contributors
============

Dan Stahlke ([email protected])
Jens Mueller
Robbie Morrison
Daniel Di Marco
Sylwester Arabas

gnuplot-iostream's People

Contributors

dstahlke avatar amirmasoudabdol avatar

Watchers

James Cloos avatar  avatar

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.