Questions tagged [gnuplot]
`gnuplot` can create high-quality graphs and diagram for functions and data.
54
questions
1
vote
0
answers
31
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 ...
0
votes
0
answers
15
views
Ubuntu 20.04 LTS, after installation of gnuplot, VGA/KVM getty@tty1.service showed dead and no login prompt on VGA console. How to get VGA back
Ubuntu 20.04 LTS for server installation.
Prior to gnuplot package installation, VGA console working as main console to login (text).
After gnuplot installed, reboot system, VGA console no longer ...
0
votes
2
answers
166
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 ...
0
votes
1
answer
274
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 ...
1
vote
0
answers
212
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-...
0
votes
0
answers
302
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 ...
0
votes
2
answers
648
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 ...
2
votes
1
answer
112
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 ...
0
votes
2
answers
605
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) ...
1
vote
1
answer
4k
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 ...
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:...
0
votes
2
answers
2k
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
...
2
votes
1
answer
1k
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 ...
-1
votes
1
answer
570
views
I am trying to plot the datafile but getting this error [duplicate]
~/project$ plot 'dis_xsq_out.dat' u 1:2:3
Command 'plot' not found, but can be installed with:
sudo apt install plotutils
4
votes
2
answers
51k
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: ...
0
votes
1
answer
194
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?
1
vote
2
answers
277
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 ...
0
votes
0
answers
587
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 ...
1
vote
1
answer
8k
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 ...
-1
votes
1
answer
4k
views
Opening gnuplot using a bash script file and then plotting a csv file
I'm new to gnuplot and scripting and having trouble plotting a csv file.
I am trying to have a user that has a csv file have the ability to plot columns of his choice using gnuplot. This is what I ...
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 ...
0
votes
1
answer
425
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:
./...
0
votes
1
answer
616
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 ...
2
votes
1
answer
99
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 ...
1
vote
1
answer
4k
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 ...
3
votes
2
answers
14k
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 ...
0
votes
0
answers
77
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 ...
2
votes
1
answer
894
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/%...
1
vote
2
answers
5k
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 ...
2
votes
2
answers
8k
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 ...
0
votes
1
answer
950
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.
0
votes
1
answer
2k
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 ...
1
vote
2
answers
377
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 ...
0
votes
1
answer
3k
views
Gnuplot will no longer make dashed lines after upgrading to Ubuntu 16
The title says it all mostly, I can no longer make dashed lines in the Postscript terminal in gnuplot. The script still works if I use gnuplot 4 instead of gnuplot 5. Code follows,
set terminal ...
1
vote
1
answer
665
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
...
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,...
0
votes
1
answer
1k
views
Gnuplot - change colour within block
I have a file with several blocks of data. Each block consists of several columns. Does anyone know how to plot each column combination within the same block with different colors either automatically ...
2
votes
3
answers
25k
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 ...
12
votes
6
answers
82k
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'...
3
votes
0
answers
5k
views
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 ...
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/$...
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', ...
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 ...
5
votes
1
answer
14k
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 ...
0
votes
1
answer
39
views
Setting x ascis in gnuplot
I want to write gnuplot plot with a file which has just one column. My file is missing X. My X is based on a row of numeber which go from 2.5 to 30 with a step of 0.1. Is there a command in gnuplot ...
2
votes
1
answer
2k
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 -...
3
votes
0
answers
191
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 ...
1
vote
1
answer
417
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 ...
0
votes
2
answers
1k
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
1
vote
1
answer
1k
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?)