Skip to main content

Questions tagged [gnuplot]

Gnuplot is a portable command-line driven graphing utility for Linux, OS/2, MS Windows, OSX, VMS, and many other platforms.

Filter by
Sorted by
Tagged with
0 votes
1 answer
51 views

GNU plotfont is a simple utility that will produce a character map for any font available to the GNU plotting utilities graph, plot, pic2plot, and tek2plot, and the GNU libplot graphics library on ...
e___e's user avatar
  • 55
2 votes
1 answer
524 views

I am using gnuplot and Rust for a project on my Linux Mint (cinnamon) PC. However once I try to display a picture I get: called `Result::unwrap()` on an `Err` value: Couldn't spawn gnuplot. Make sure ...
Beppe's user avatar
  • 23
0 votes
1 answer
166 views

I have a log file like this: Starting time loop Courant Number mean: 0 max: 0 deltaT = 0.0012 Time = 0.0012 DILUPBiCGStab: Solving for Ux, Initial residual = 1, Final residual = 4.8276e-08, No ...
mle0312's user avatar
  • 163
1 vote
2 answers
471 views

I am using netcat to get a series of points which I would like to plot with gnuplot. However, I am having trouble passing the data to gnuplot without writing it to a file first. In the simplest case, ...
Sebastian's user avatar
  • 111
1 vote
1 answer
3k views

I have many data files in a directory. Each data file has various columns and I want vector plots using a few of them. Earlier I was generating .png files using a .gp script and combining them into a ...
damaihati's user avatar
  • 143
0 votes
1 answer
1k views

I have this data file (TotalDurationBarPlot.dat): Indexed list 934 Tree list 3692 Array list 12274 Linked list 48188 What I wish to achieve is a histogram chart with 4 bars: one for Indexed list, one ...
coderodde's user avatar
2 votes
2 answers
322 views

I have the following data that I am processing to get the 1st and 5th column, convert the D format to E format and delete rows that have gibberish numbers such as 9.410-316. DEG = 1.500 2....
csnl's user avatar
  • 35
1 vote
2 answers
232 views

E.g. the following command gnuplot -e "splot [x=-3:3] [y=-3:3] sin(x)*cos(y)" works perfectly fine on Windows 10 with GNUPLOT 5.4p5. But on my Debian Bullseye box with GNUPLOT 5.4p1 all I ...
huoneusto's user avatar
  • 131
1 vote
0 answers
161 views

My script takes the data from the third and 5th columns of the input datafile considering only the lines where the value from the 5th column > 0.05, producing a bar graph cat <<EOS | gnuplot &...
James Starlight's user avatar
2 votes
0 answers
162 views

I am using xmgrace to plot 2D bar plot from the following input data: @ title "H-bonds" @ xaxis label "Donor" @ yaxis label "Frac" @s0 line type 0 @s0 symbol linewidth 1 @...
James Starlight's user avatar
1 vote
1 answer
2k views

I want to plot several files just executing a bash script which calls Gnuplot. My idea of a possible bash script is: #!/bin/bash gnuplot plot 'my_first_file.dat' u 1:2 replot 'my_second_file.dat' u 1:...
Siderius's user avatar
  • 123
2 votes
1 answer
309 views

I am plotting some financial data in gnuplot as candlesticks. Example of the data: 2022-04-20T00:01:00 1.07907 1.07901 1.07916 1.07907 2022-04-20T00:02:00 1.07906 1.079 1.07908 1.07907 2022-04-20T00:...
Philipp Ludwig's user avatar
1 vote
0 answers
1k views

I was using gnuplot in Ubuntu with wxt terminal, and when I type in plot sin(x), I get an error message: Unable to init server: Could not connect: Connection refused 23:00:40: Error: Unable to ...
Limona2000's user avatar
2 votes
1 answer
1k views

When I use '-' to plot in gnuplot from a pipeline, as follows⭐: $ seq 5 | gnuplot -e "plot '-' w lp; pause 99" it works fine, I can adjust the plot's window size, can show/hide grid without ...
Iyach tharwa nambarek's user avatar
2 votes
0 answers
222 views

I am trying to plot some data using gnuplot My input is similar to $ go run . | tail 410ms-420ms 14260 420ms-430ms 13654 430ms-440ms 13344 440ms-450ms 13156 450ms-460ms 12829 460ms-470ms 12463 470ms-...
mh-cbon's user avatar
  • 143
0 votes
0 answers
217 views

I am using ns2.35 and ubuntu 18.040. I have a number of trace files and I want to compare them in terms of: delay, throughput, power consumption (awk files) .. I would like to use xgraph or gnuplot .. ...
sally's user avatar
  • 1
1 vote
1 answer
322 views

I would like to run a list of Gnuplot commands in parallel. I'm getting an "Unrecognized option" error: $ ./parallel-plot-sine.sh | parallel -q gnuplot unrecognized option -e "set ...
EarthIsHome's user avatar
-1 votes
1 answer
87 views

I have the following data, when plotted gives me the following I would like to save and plot only the outermost points with a line plot. Pls do suugest on how to proceed with this and advise on how ...
newstudent's user avatar
1 vote
1 answer
285 views

Here I have a data which I would to plot with line using Gnuplot. Using the code pl 'Sphere_ISOTEST_data.txt' w p I get below figure but, using pl 'Sphere_ISOTEST_data.txt' w l I get the following: ...
newstudent's user avatar
0 votes
0 answers
250 views

I have below example, 1|5 2|8 3|1 6|8 7|5 8|10 With below code the chart connects between 3 and 6 x data is there a way to plot zero values between 3 and 6 x data, gnuplot << EOT set ...
ammar's user avatar
  • 87
1 vote
0 answers
267 views

I had a previous version of XQuartz on my Mac High Sierra 10.13.6 and I was running gnuplot (not very recent version, 4...). Then I updated XQuartz and gnuplot does not start anymore. I receive the ...
Fred's user avatar
  • 21
0 votes
2 answers
1k views

I'm plotting point using Gnuplot as explained in this article. For example: However I want to draw a black border around each of the points. In the above example, the square, circle, and triangle ...
jviotti's user avatar
  • 431
1 vote
1 answer
265 views

I have created a gnu plot control file (.plt) with number of nodes 40 to 80 with gap of 10 and last value as 84. when I generate output I don't get value 84 shown in xtics. I want values from 40 to 80 ...
user3696623's user avatar
2 votes
1 answer
5k views

I need to produce image with gnuplot with following guide given width=90 mm (255 pt), pixels at 300 dpi=1063, pixels at 500 dpi=1772 , pixels at 1000 dpi=3543 How can i produce image with width=90mm ...
user3696623's user avatar
0 votes
1 answer
3k views

I want to plot a file using gnuplot from within a bash script. For this I used the following command: gnuplot --persist -e "plot file1.dat" It shows the plot in a window but I want to look ...
physu's user avatar
  • 201
1 vote
1 answer
1k views

I want to be able to issue shell commands from a gnuplot script, such as setting a variable, but it appears that the system command spawns a new shell instance as opposed to issuing commands to the ...
T. Zack Crawford's user avatar
0 votes
0 answers
483 views

I have a simple shell script to copy certain data file from one directory into the current working directory and I plot this file along with another file in the working directory using gnuplot. The ...
prananna's user avatar
0 votes
1 answer
167 views

I have a file, file.dat, that contains string and numeric xticlabels STD 0.34 0.04 0.1 0.4 0.03 0.2 0.3 0.04 0.3 0.31 0.045 Column No.1 is for xticlabels, Column 2 is for value to plot against ...
user3696623's user avatar
0 votes
1 answer
433 views

I have plotted a file containing string and numbers as x labels with following code plot "fileaskinf.dat" u 2:xticlabels(1) t "teams" The file contents are A-Team 0.05 0.5 0....
user3696623's user avatar
0 votes
0 answers
166 views

In Linux/Ubuntu i have plotted a file with 3 columns ,x, y and error bars. Now i have file with numbers and text in first column. i can i plot it with error bars with numbers and string in the label?. ...
user3696623's user avatar
1 vote
1 answer
2k views

I want to plot a set of data stored in different files: file.txt_100K file.txt_200K file.txt_300K I came up with the following bash script: 1 #!/bin/bash 2 3 filename=file.txt_ 4 5 ...
physu's user avatar
  • 201
0 votes
1 answer
2k views

How do I specify the working directory for gnuplot in interactive mode? If I want to call a script with "call 'label_loop.gnu'" and do not want to put the script file in the gnuplot installation ...
user15181's user avatar
0 votes
1 answer
193 views

I stumbled across this beautiful program ncdu and it definitely is a great program to view your diskspace. But however if i want to keep a track of my disk usage, it provides not options to export the ...
Mercurial's user avatar
  • 184
0 votes
1 answer
3k views

when I type sqrt(4) I get ^ invalid command how do I calculate the square root of a positive real number with gnuplot?
scjorge's user avatar
  • 371
2 votes
1 answer
293 views

Does anyone know whether there is a way to run gnuplot with quadruple arithmetic precision? E.g. When you want to plot a line and you want to subtract a value like "2....
Jannis Erhard's user avatar
2 votes
2 answers
18k views

I am using gnuplot and would like to get the symbol for "Angstrom" (Å, ISO encoding 305) and the Greek letter Delta (Δ, Symbol 104) in the plot. How can I combine the two encoding schemes when ...
Nadia's user avatar
  • 21
3 votes
1 answer
1k views

Is there an easy way to make gnuplot automatically show y1=0 and y2=0 at the same height in the image while the y1 and y2 axes have different scales? The only way I am aware is to make sure the ...
T. Zack Crawford's user avatar
0 votes
1 answer
3k views

My folder structure looks kind of like this $ tree . ├── Original_folder │ └── cat.txt ├── folderCD │ └── cat.txt ├── folderGK │ └── cat.txt ├── folderFE └── cat.txt Each cat.txt file has 5 ...
Mr. 206's user avatar
  • 33
0 votes
2 answers
5k views

code: #!/usr/bin/env bash # download death data wget -O Deaths.txt http://www.randomservices.org/random/data/Deaths.txt wget -O Pumps.txt http://www.randomservices.org/random/data/Pumps.txt # Delete ...
Yiling Liu's user avatar
1 vote
0 answers
862 views

I have a data file that is formatted as following: 1 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 2 0.943177 1.305333 1.735536 1.797774 1.598829 1.737834 ...
user2762996's user avatar
-1 votes
2 answers
5k views

How to plot all files in directory in gnuplot? I mean the when I have 15 data files I will get 15 graphs. plot '???' with lines
Lukáš Altman's user avatar
0 votes
1 answer
911 views

I have to plot with Gnuplot the data contained in 3 CSV files. Commonly, I use the following code to plot from 2 CSV files: $datablock << EOD `cat ../Q1a/sim_Q1.csv <(tail -n+8 ../Q1b/...
user1993416's user avatar
0 votes
1 answer
2k views

I have the following GNUplot file: set title "Performance of Quicksort over random data sets" set yrange [0:80000] set style data histogram set style histogram cluster set style fill solid border -1 ...
Johan Sjolen's user avatar
0 votes
0 answers
628 views

i have a script in bash that read the file Throughputtx.txt and print this information in a graph of GNUPLOT, but this graph goes to the left side of my screen and I want it to be printed in the ...
Andres Andrade's user avatar
3 votes
1 answer
992 views

E.g., on the bash command line I can type a δ character using the Compose key and an ad hoc ~/.XCompose file, but if I try to do the same in Gnuplot what I get is 13:48 boffi@debian:~ $ δ bash: δ: ...
gboffi's user avatar
  • 1,406
1 vote
1 answer
249 views

Is there an easy way to install the latest gnuplot on Debian stable without backports? Ideally as a local self-consistent installation that would not interfere with the rest of the system. Is it ...
atapaka's user avatar
  • 675
1 vote
2 answers
2k views

Can I use a here document to pass a gnuplot script to gnuplot and also have commandline line arguments passed to gnuplot? In my bash file, I would normally write: #!/bin/bash #set up code in here... ...
masher's user avatar
  • 155
0 votes
0 answers
688 views

I am trying to set the zrange in 3D plot from -0.04 to 0.04 as follows `set zrange [-0.04:0.04] this show the ztics from -0.04 to 0.04 but it leaves some space between the ztics and the x axis, 1- ...
Mohsen El-Tahawy's user avatar
0 votes
1 answer
418 views

I'm trying to plot the data of 100x11 array in plot using gnuplot. I created a .gnu file to generate plot but unable to get jitter plot. I'm using the below code set terminal pngcairo size 1280,800 ...
Venkat's user avatar
  • 1
4 votes
1 answer
1k views

I have an application that produce log like that: 14:48:16, 41.0 14:50:01, 40.0 14:54:01, 41.0 14:54:04, 40.0 14:55:10, 41.0 14:55:22, 40.0 15:00:13, 41.0 ... It is current time and the measured ...
Zaboj Campula's user avatar