File: gnuplot.h

package info (click to toggle)
fityk 1.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,772 kB
  • sloc: cpp: 34,595; ansic: 4,676; python: 963; makefile: 384; sh: 119; xml: 91; java: 31; ruby: 27; perl: 25
file content (27 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// This file is part of fityk program. Copyright 2001-2013 Marcin Wojdyr
// Licence: GNU General Public License ver. 2+

#ifndef FITYK_GNUPLOT_H_
#define FITYK_GNUPLOT_H_

#include <stdio.h>

namespace fityk { class Fityk; }
extern fityk::Fityk* ftk; // defined in cli/main.cpp

class GnuPlot
{
public:
    GnuPlot();
    ~GnuPlot();
    void plot();

private:
    bool failed_;
    FILE *gnuplot_pipe_;

    void fork_and_make_pipe();
    bool test_gnuplot_pipe();
};

#endif