Skip to main content

Questions tagged [gnuplot]

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

Filter by
Sorted by
Tagged with
47 votes
3 answers
73k views

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 ...
sourav's user avatar
  • 471
12 votes
6 answers
91k views

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'...
Mihir Gadgil's user avatar
5 votes
1 answer
15k views

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 ...
yasmink's user avatar
  • 51
4 votes
1 answer
7k views

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,...
skypemesm's user avatar
  • 675
4 votes
1 answer
1k views

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', ...
Adriaan's user avatar
  • 660
4 votes
2 answers
58k views

"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: ...
Barbaud Julien's user avatar
3 votes
1 answer
2k views

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 ...
Juan David's user avatar
3 votes
2 answers
18k views

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 ...
Ptheguy's user avatar
  • 141
3 votes
0 answers
3k views

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,...
ex_Windows_user's user avatar
3 votes
0 answers
5k views

How to open gunplot window under ssh?

After ssh -Y [email protected], 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 ...
wlnirvana's user avatar
  • 614
3 votes
0 answers
196 views

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 ...
keving's user avatar
  • 31
2 votes
2 answers
13k views

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 ...
Mohammad Reza Rezwani's user avatar
2 votes
3 answers
31k views

GNUPlot: Terminal set unknown

G N U P L O T Version 4.6 patchlevel 4 last modified 2013-10-02 Build System: Linux x86_64 Copyright (C) 1986-1993, 1998, 2004, 2007-2013 Thomas Williams, Colin Kelley and many ...
Sheetal V's user avatar
2 votes
1 answer
11k views

How to install gnuplot 5.4 at ubuntu20.04

I'm using Ubuntu 20.04, I work with Gnuplot 5.2.8, but only some features are at the version most recent. My question-specific question is. How to upgrade Gnuplot 5.4.0 at ubuntu 20.04?. Thanks ...
mfduqued's user avatar
2 votes
2 answers
7k views

I cant splot with , pm3d map, my data file? Gnuplot

I have a data file, (.tab with 11 columns and ~30000 lines ) and when I go on gnuplot, I write : set pm3d map splot "merged.tab" u x:y:z and says: Warning: Single isoline (scan) is not enough ...
Billy Matlock's user avatar
2 votes
1 answer
161 views

Ubutnu 18.04 on XPS15 9500: default gnuplot plots are small (python matplotlib as well)

The title said it all. I recently installed ubuntu18 in my new xps15 laptop. Everytime when I plot with gnuplot and matplotlib, the default plots are always very small. Also, when I open gnuplot under ...
WhatsupAndThanks's user avatar
2 votes
1 answer
114 views

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 ...
user3281447's user avatar
2 votes
1 answer
1k views

How to convert epoch to human readable time properly in gnuplot [closed]

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/%...
Elesmoth's user avatar
2 votes
2 answers
11k views

How to open up a GNUPLOT file?

I've outputted a gnuplot file called out.data as a plain text file. I have downloaded and install gnuplot but I can't seem to figure out how to open it. gnuplot > plot out.data But it gives me ...
peteubuntu's user avatar
2 votes
1 answer
3k views

Gnuplot - Save result

I create a graph that changes each second using gnuplot.Now, I want to save this graph as gif or png file when my program finishes. How can I do? My C code is below FILE *pipe = popen("gnuplot -...
us2956's user avatar
  • 123
2 votes
0 answers
2k views

I'm using ubuntu 20.04 LTS in windows 10

G N U P L O T Version 5.2 patchlevel 8 last modified 2019-12-01 Copyright (C) 1986-1993, 1998, 2004, 2007-2019 Thomas Williams, Colin Kelley and many others gnuplot home: http:...
Abhijeet's user avatar
1 vote
2 answers
3k views

create scatter plot

file (1. arg) will create (scatter plot) for n. column (x-axis, 2. arg) and m. column (y-axis, 3. arg) function is called myfun sourcefile 1 3 for scatter plot of 1. and 3. column from file ...
Martin Yeboah's user avatar
1 vote
2 answers
9k views

cannot plot graph in gnuplot-x11

I am using gnuplot under ubuntu 12.04. When i type in terminal : Terminal Type Set to 'unknown' gnuplot> plot sin(x) it only shows next step: gnuplot> but it doesn't show the graph plotting ...
Anindya's user avatar
  • 11
1 vote
1 answer
5k views

I use gnuplot to output png but cannot open the png pictures

I use gnuplot to out put a png picture. Then the picture has been generate, but I cannot open it. What's the reason? I can open other png pictures on the ubuntu. #! /usr/bin/gnuplot set terminal emf ...
Ma Xiaoyao's user avatar
1 vote
1 answer
1k views

Gnuplot script bash problem

I have wrote this script in bash for f in $FILES do echo "Processing file... $f" # take action on each file. $f store current file name B=$(basename $f) filename="${B%.*}" mkdir $BASEDIR/$...
user5355783's user avatar
1 vote
1 answer
2k views

gnuplot: how to set grid as cylindrical grid

Is that possible to set cylindrical grid (polar grid + z in the 3rd dimension)? Or I have to draw it manually (how?)
WildBaker's user avatar
  • 133
1 vote
2 answers
371 views

Crop pdf generated with gnuplot

I am generating a graph with gnuplot and then, I need to crop a part of it as a pdf or high-quality image to be used with LaTeX. I have tried generating the graph as a pdf and then cropping it but it ...
fa__'s user avatar
  • 121
1 vote
2 answers
441 views

Save part of a terminal output

I am using Ubuntu to get the output from a BLE device, and in the terminal I get a continuous stream of values. The only problem is that they are preceded by a useless string (I'm reading ...
Narin Harv's user avatar
1 vote
1 answer
683 views

How can I access gnuplot's options?

I've installed gnuplot on Ubuntu 16.04 and I'm confused on how to access the options. A plot looks of, for instance, sin(x) and cos(x) looks now like this But on Ubuntu 14.04 it looked more like this ...
Hunter's user avatar
  • 482
1 vote
1 answer
425 views

Gnuplot error while CalcHEP process

I dont know if this is the wright place to ask but school's server gave the error below while doing a process in Calchep batch mode. Its obviously about gnuplot but I have no idea since I didnt ...
jackaraz's user avatar
  • 605
1 vote
1 answer
843 views

Window font size is small on WSL Ubuntu 22.04.3 windows 11

I installed gnuplot on WSL Ubuntu 22.04.3 and created a simple plot. The font for all text is pretty small, as shown in the screenshot below. Is there a global setting for the window font to be set ...
karanveer41's user avatar
1 vote
0 answers
714 views

gnuplot Qt5 install FAIL

I'm running 20.04 but after several tries I can not get gunplot to install properly wiht qt5. I followed the instructions from another Q/A: sudo apt install qtbase5-dev qtbase5-dev-tools libqt5svg5-...
Tom Morgan's user avatar
1 vote
1 answer
10k views

Gnuplot - Plot data points on 2D contour plot

I want to plot some data points (M_Coord_Plain.txt) onto a 2D contour projection (which is made by data on Contours.txt). I have found similar answers on these posts: How to mark some points on 2D ...
zarathustra-f90's user avatar
1 vote
0 answers
1k views

gnuplot cannot connect to display [duplicate]

When I try to run gnuplot I get the following error. sean@DESKTOP-EGDC4UU:/mnt/c/Users/Seang/Desktop/Microgen_CFD/OpenFOAM/SST$ gnuplot G N U P L O T Version 5.0 patchlevel 3 last ...
Séan's user avatar
  • 11
0 votes
2 answers
2k views

Problem with Gnuplot

I want to draw graphs with Gnuplot. But when I click the button for the example plot sin (x), the gnuplot command window does not appear. I don't know the cause of that behavior
user283147's user avatar
0 votes
2 answers
3k views

can't find gnuplot in /usr/local/bin

I am running a bash script that I found which takes care of producing latex with gnuplot. The script includes the line: gnuplot_cmd="/usr/local/bin/gnuplot"; and if [ ! -e $gnuplot_cmd ]; then ...
user1237300's user avatar
0 votes
2 answers
1k views

Gnuplot on Ubuntu from Microsoft Store, can't open x11 window

I can't run gnuplot x11 terminal from Ubuntu 20.04 from Microsoft Store. I installed Ubuntu from Microsoft Store, then I installed VcXsrv. Then I run Xlaunch (VcXsrv) - choose display settings ...
Jakub's user avatar
  • 103
0 votes
1 answer
362 views

Gnuplot crashed unexpectedly - ubuntu 18.04LTS

I've been having an issue with gnuplot (Version 5.2 patchlevel 2) on ubuntu 18.04. When trying to zoom using the right click button, the window goes away. I removed and reinstalled it but this didn't ...
Thanos's user avatar
  • 457
0 votes
1 answer
530 views

Install software from tar file

So, I was trying to instal gnuplot 5.2.2 from the source files. I use ubuntu 16.04 LTS, here's what I did: I unpacked the tar file and used the following commands in the source directory: ./...
J. Doe's user avatar
  • 9
0 votes
1 answer
733 views

Gnuplot timefmt not working

I am working with gnuplot to show simple data on a graph. My datafile (output.csv) looks like this: 14:06,30.947 14:07,34.476 The first column is time the second column is data. To get this out in ...
Cyber_Star's user avatar
0 votes
1 answer
3k views

saving gnuplot figure without displaying the plot

I have a data file (data.txt). I can plot the data with using gnup command. Like; gnup -p data.txt -xl 'Hours' -yl 'Data (m)' I need to save the plot (for example png format) after executing above ...
deepblue_86's user avatar
  • 1,194
0 votes
0 answers
282 views

gnuplot undefined symbol in c

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....
Volker Tachin's user avatar
0 votes
0 answers
286 views

how to run a script with gnuplot then exit from gnuplot and continue with the script

Good afternoon dear all Look i am quite new to linux and gnuplot. I have a file that gets split into 4 files (that is carried out in gnuplot), then i want to sort my data of each file (i did that ...
baezacaljo's user avatar
0 votes
0 answers
470 views

Ubuntu 18.04 gnuplot has random segmentation faults

I am trying to draw the most basic plot using gnuplot in the terminal and simply entering : gnuplot> plot 'histogramme.dat' u 1:3 leads to : gnuplot> Segmentation fault (core dumped) I can ...
user22744's user avatar
0 votes
2 answers
2k views

How to use gnuplot commands inside a shell script?

I have this shell script : #!/usr/bin/bash gnuplot -e "set terminal png; set output "out.png"; set boxwidth 0.5; set style fill solid; plot "ax.txt" using 1:2:xtic(3) with ...
Lucas Gomes's user avatar
0 votes
2 answers
2k views

Unable to run gnuplot on Ubuntu WSL2 - cannot connect to display

I have installed gnuplot on Ubuntu with sudo apt install gnuplot-x11, then installed vcxsrv on Windows and run it: vcxsrv I would then expect that running gnuplot from bash and typing plot sin(x) ...
norbas's user avatar
  • 1
0 votes
1 answer
218 views

Gnuplot plotting of size polydisperse data file

I have a lammps polydisperse in size datafile format as below: ## Atom-ID, x, y, eps, sigma I am unable to visualize it in gnuplot. Can someone help me with details of the gnuplot command?
Jackson Kh's user avatar
0 votes
0 answers
699 views

"SigPack - the C++ signal processing library" installation and run help

I am still new to Linux and I'm trying to install "SigPack-a signal processing library". Instructions on SourceForge(http://sigpack.sourceforge.net/build.html) are pretty vague but I managed to ...
Divk's user avatar
  • 1
0 votes
0 answers
95 views

plotcap libraries

In order to install SUPREM III software the prerequisite is that plotcap libraries must be installed including libgplot.a, libhigh2.a, and libgplotF77.a. May i know from where to download these files ...
anala's user avatar
  • 1
0 votes
1 answer
1k views

How do I plot very big dat file in gnuplot?

I have a .dat file with 50000 rows and 101 columns and try to plot in GNUPLOT by using command **plot "test.dat" matrix with image" **. But no plot occurs . PLz help.
Bapi Saha's user avatar
  • 469