Questions tagged [gnuplot]

gnuplot can create high-quality graphs and diagram for functions and data.

gnuplot is a command-driven interactive function plotting program. It can be used to plot functions and data points in both two- and three-dimensional plots in many different formats. It is designed primarily for the visual display of scientific data.

Home page: http://www.gnuplot.info/

example plot

58 questions
47
votes
3 answers

gnuplot not showing the graph window

I am using gnuplot under ubuntu 12.10. When i type in terminal : gnuplot> plot sin(x) it only shows next step: gnuplot> but it doesn't show the graph plotting windows. What can I do to find the problem?
sourav
  • 471
  • 1
  • 4
  • 3
14
votes
6 answers

How to execute commands in gnuplot using shell script?

What I want to do is write a script which first launches a program and then tells it to execute a bunch of commands and then quit. Lets go with an example. I wrote this script myscript.sh and it doesn't work the way I want it to. What it does is…
Mihir Gadgil
  • 323
  • 2
  • 4
  • 18
5
votes
1 answer

passing file from bash script to gnuplot script

I am new to gnuplot and I am troubled in passing my argument alot, now I have this simple bash script and a gnuplot script. in the bash script plot.sh I should modify my file then send it to the gnuplot script to be plotted OR I can modify my file…
yasmink
  • 51
4
votes
1 answer

Error installing gnuplot: undefined reference to `luaL_checkint'

I am making an attempt to install the program gnuplot version 5.0.1 on Ubuntu 14.04. For this, I made the following steps. Steps to install Gnuplot. 1) Run 'sudo apt-get install libreadline-dev', necessary for the Lua installation to run…
Adriaan
  • 680
4
votes
2 answers

"Could not connect to any X display" with gnuplot (Ubuntu for windows)

I have installed the Ubuntu extension for Windows, but I run into troubles when I want to use gnuplot... I am just trying to plot a simple data file, but I get the following error : QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to…
4
votes
1 answer

GNUPLOT remove overlapping between xtick labels

In GnuPlot, i am setting xtics to something like this: set xtics ("AIM" 0.00000, "gtalk" 2.00000, "rtp-multicast-filetransfer" 4.00000, "sipc_music" 6.00000, "skype1" 8.00000, "skype2" 10.00000, "voip-extension" 12.00000,…
skypemesm
  • 705
3
votes
2 answers

Gnuplot display on Bash on Ubuntu on Windows 10

Windows 10 Anniversary Update contains a Linux subsystem. I am in need of working in a Linux environment so I began looking into this subsystem. So far, I have been able to install all the needed applications. I successfully installed gnuplot and it…
3
votes
0 answers

How to update gnuplot (4.6 to 5.0)?

I have recently installed GNU Octave 4.0.0 and today when I checked that I have gnuplot version 4.6 although I haven't installed it. I guess it was installed during the installation of Octave. However, I would like to have one of the latest versions…
3
votes
0 answers

How to open gunplot window under ssh?

After ssh -Y foo@bar.com, is it possible to run gnuplot and open the output picture on local machine? Here is what I get now: $ echo $TERM xterm-256color $ echo $DISPLAY $ gnuplot G N U P L O T Version 4.6 patchlevel 4 last…
wlnirvana
  • 674
3
votes
0 answers

problems with gnuplot in 14.10

some of the useful terminal types (wxt or qt) do not exist. With previous versions of gnuplot and ubuntu, wxt worked well. However, Debian apparently dropped support for wxWidgets 2.8, so gnuplot no longer has an option for the wxt terminal type. …
keving
  • 31
3
votes
2 answers

simple example of gnuplot

I want to write gnuplot command for a file which just I have one column of that. In the file and that column is Y, But in the file I don't have X's column.X's column element are 1 2 3 4 5 6 7 .Pay attention to the belowe think they are my in file…
3
votes
1 answer

gnuplot: undefined symbol in C program

I have a C program to plot a simple Gaussian distribution. However, whenever I call the program I get this error: gnuplot: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version…
3
votes
1 answer

How to convert Makefile.am to Makefile.in?

I'm trying to install gnuplot 5.3 from github. I'm running aclocal autoheader autoconf automake inside the package location. This gives an error because automake is looking for Makefile.in and I have a bunch of Makefile.am files, supposedly…
Juan David
  • 45
  • 6
2
votes
1 answer

Gnuplot and Octave giving scrollbar error

The following error is occurring in both Gnuplot and Octave at the newest installation: error: invalid string constant "murrine-scrollbar", expected valid string constant I have no idea how to proceed.
2
votes
1 answer

How to convert epoch to human readable time properly in gnuplot

I have the following snippet to have a graph output via gnuplot. set datafile separator "," set title "Memory" set xlabel "Values" set ylabel "Date" set ydata time set timefmt "%H" set format y "%d/%m/%Y" set key left top set grid plot…
1
2 3 4