Questions tagged [gnuplot-iostream]

It is an interface that allows gnuplot to be controlled from C++. Its similar to gnu plot.

Gnuplot-iostream is an interface that allows gnuplot to be controlled from C++. Its similar to gnu plot. it is a iostream pipe to gnuplot with some additional functions for pushing data arrays and getting mouse clicks. source code include STL containers (eg. vector), Blitz++, and armadillo. it is a low level interface, and usage involves manually sending commands to gnuplot using the "<<" operator

48 questions
0
votes
1 answer

There is error c++ with gnuplot. The graph doesn't work

#include "StdAfx.h" #include #include #include "pGNUPlotU.h" int main(void) { double N = 5; double w_c = 2; double w; CpGnuplotU plot (_T("C:\\Program Files\\gnuplot\\bin\\wgnuplot.exe")); FILE *fp = _wfopen…
hitoomi
  • 11
  • 2
0
votes
1 answer

gnuplot fitting extends the points assigned. how to solve this error?

I have 2 sets of data file #veff S Pmax S Pmin 0.10 103 0.2135 152 -0.0505 0.11 104 0.2162 152 -0.0592 0.12 105 0.2177 152 -0.0669 and #veff S Pmax S Pmin 0.13 106 0.2177 152 -0.0729 0.14 105 0.2162 152…
bhaskar
  • 51
  • 5
0
votes
1 answer

How to skip COLUMN while drawing graph in gnuplot

I am planning to draw a 2D plot using gnuplot . But in this case I want to skip first column of my data.txt file . Background of this question is ,I am having two inputs for given output . But I want to draw the graph using one input only ..as I Am…
jailaxmi k
  • 89
  • 3
  • 11
0
votes
1 answer

How to make circle in gnuplot 4.0

Since I have to use an old version of gnuplot 4.0, I found that the circle style is not available. Can any one suggest me how to draw circle with different size from data like this: x y size 0.000000 -18.595474 …
Binh Thien
  • 363
  • 2
  • 13
0
votes
1 answer

gnuplot matrix plotting with image at command line, why two e's required?

I'm actually plotting in C++ using a pipe, but a command line demo represents the confusion: > plot '-' matrix with image > 1 2 > 3 4 > e > e Nothing happens after the first 'e', but the plot comes after the second. What does this mean? And BTW,…
Mastiff
  • 2,101
  • 2
  • 23
  • 38
0
votes
4 answers

drawing ellipse in gnuplot using major axis, minor axis

I am trying to draw a simple ellipse using gnuplot, but everywhere I read, one need data points to plot the ellipse. Is there a comand in gnuplot where an ellipse is drawn simply by inputting semi major, semi minor, center of ellipse, and…
infoclogged
  • 3,641
  • 5
  • 32
  • 53
0
votes
1 answer

SHA-256 checksum error while installing gnuplot

I unfortunately keep getting this error, while trying to install gnuplot (with x11) - even after deleting the announced file an try it again... Does anybody have an idea how to solve this problem?
Mahakala108
  • 85
  • 1
  • 11
0
votes
1 answer

C++ Windows gnuplot_i.hpp won't save to other folders

I have been using gnuplot_i.hpp to plot lots of data from a C++ program. I need to be able to put the output files (png images) into other folders. But when I try to set the output to other folders, either with relative or absolute addresses, it…
user137
  • 282
  • 2
  • 14
0
votes
1 answer

GLUT and gnuplot window not showing up at the same time

I have the following functions whose objective is to display a GLUT window displaying a 3D object and a Gnuplot window to display a plot. For that I use the Gnuplot-Iostream Interface. The plotting code is located inside a function as it will be…
Anthony Lethuillier
  • 1,489
  • 4
  • 15
  • 33
0
votes
1 answer

Gnuplot Plot a Candlesticks plot, but use a line inside the key?

I'm using a C++ program to automate a lot of plots with Gnuplot. I am making boxplots using the candlestick plot style, and I add median and mean by adding modified candlestick plots, based on the example in the manual: plot ’stat.dat’ using…
user137
  • 282
  • 2
  • 14
0
votes
1 answer

How to continue to execute the C++ code after gnuplot was called?

I am using gcc as a compiler and gnuplot-iostream.h as a stream to combine C++ code and the gnuplot features. What I am doing: I try to make a fit of the data via gnuplot and extract the final fit parameters from the generated fit.log file for…
Pavel K
  • 13
  • 4
0
votes
1 answer

Cannot open include file, despite aforementioned file exists

I include a header file like this: #include "gnuplot-iostream.h" but it causes 37 errors like in the title. The errors are caused by includes from the boost++ headers like this: #include I can change…
Kweldulf
  • 76
  • 1
  • 10
0
votes
3 answers

Redirect Gnuplot Error Messages

I'd like to redirect gnuplot error messages (that are normally displayed in the gnuplot terminal) to a file for logging. Is there any way to do this? Example: if I type gnuplot> Hi! in the gnuplot terminal, Then I get gnuplot> Hi! ^ …
aquirdturtle
  • 2,038
  • 26
  • 20
-1
votes
1 answer

Why is my heatmap empty (white)?

I want to draw a heatmap, I have a 2d array and I followed this answer : https://stackoverflow.com/a/32459287/2370139 Except that I use gnuplot within c++ and I removed "nonuniform" since the first row and columns are regular values, not…
user2370139
  • 1,297
  • 1
  • 11
  • 13
-1
votes
1 answer

how to zoom a subplot in multiplot mode in gnuplot?

zooming in gnu plot is done by multi plot. But what if we have zoom a particular subplot in multi plot? It is like a multi plot within another multi plot. need help!
san
  • 23
  • 1
  • 5