Questions tagged [gnuplot]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
67 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
2answers
87 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 ...
1
vote
1answer
49 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
0answers
74 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
1answer
854 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
0answers
1k 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
0answers
48 views

Problem with plotting using gnuplot [duplicate]

so this is my first post over here. I install WSL linux on my windows to use gnuplot. but i plot something i get this message anyone is familiar with such a problem qt.qpa.xcb: could not connect ...
0
votes
2answers
776 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
1answer
989 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
1answer
355 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
2answers
40k 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
1answer
167 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
2answers
215 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
0answers
501 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
1answer
7k 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
1answer
3k 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
0answers
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
1answer
356 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
1answer
507 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
1answer
93 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
1answer
3k 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
2answers
10k 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
0answers
63 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
1answer
717 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
2answers
4k 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
2answers
7k 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
1answer
809 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
1answer
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
2answers
262 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
1answer
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
1answer
655 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
0answers
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
1answer
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
2answers
20k 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 ...
11
votes
6answers
75k 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
0answers
4k 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
1answer
903 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
1answer
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
2answers
2k 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
1answer
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
1answer
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
1answer
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
0answers
187 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
1answer
412 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
2answers
885 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
1answer
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?)
1
vote
2answers
8k 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 ...
2
votes
2answers
12k 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 ...
47
votes
3answers
68k 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 ...
4
votes
1answer
6k 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,...