Questions tagged [plotting]
The plotting tag has no usage guidance.
32
questions
0
votes
0answers
5 views
How do I control the cutter of a paper-plotter?
I am currently working on a small software which shall automatically plot specific PDFs on a 24" plotter (model to be decided). The plots shall be printed on an endless paper roll.
The software ...
2
votes
1answer
62 views
changing batch parameters for xmgrace
I am using gracebat of xmgrace to generate images based on xvg inputs:
gracebat input.xvg -hdevice PNG -nosafe -printfile ouptut.png -hardcopy -batch grace.bfile
and here is my batch file
s0 line ...
1
vote
3answers
115 views
Fitting a equation to a set of data
I have a set of data:
1.12158 0.42563 0.07
1.12471 0.42112 0.07
1.12784 0.41685 0.07
1.13097 0.41283 0.07
1.13409 0.40907 0.07
1.13722 0.40556 0.07
1.14035 0.40231 0.07
1.14348 0.39933 0.07
1.1466 0....
0
votes
0answers
34 views
Where should I see the result of plotting a chart through SSH?
I have created a systemd service like following code on my CentOS remote server that runs a Jupyter app named scraping-cdn-plot-gavahi-aati.ipynb that plots some charts. This is the service:
[Unit]
...
0
votes
0answers
1k views
ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running
I have a headless CentOS 7 on my VPS that runs headless Jupyter, and I use Putty on Windows 10 to connect to the server and see the Jupyter result on my browser. Everything is OK but Jupyter plots ...
0
votes
1answer
72 views
Using openblas instead of blas breaks fltk
When I try to plot anything in GNU Octave, I get this error.
octave:1> plot(linspace(1,2,30),linspace(1,1,30))
error: feval: /usr/lib/octave/5.2.0/oct/x86_64-pc-linux-gnu/__init_fltk__.oct: failed ...
1
vote
1answer
666 views
working directory in gnuplot
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 ...
1
vote
0answers
78 views
Histogram with FASTA file
I am new to Linux.
I have a FASTA file that looks something like this:
>scaffold1
AAGACATAATATTTTGGAGGAATTAAAAAATTTAAGATGTATTTTATTATACATGTATTTTATTTATAACATAAATAAACATCCCAAGGAAAAGCAGTAGCT
>...
3
votes
1answer
244 views
gnuplot y1 y2 common zero
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 ...
0
votes
0answers
185 views
Plotting first column as X and every other column as a separate line for Y in gnuplot
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 ...
0
votes
1answer
131 views
Plot with hours that have a sign on Libreoffice-Calc
On Libreoffice calc I have a spreadsheet that can compute certain quantities in time (hours). These quantities can be positive or negative.
For example, the values in the spreadsheet can be a daily ...
0
votes
1answer
319 views
Clockspeed graphing program in linux
Is there a program to graph (CPU) clockspeeds in real time? For example, something like psensor which is useful for temperature graphs.
EDIT: Running Fedora 27 on a Ryzen system (Pinnacle Ridge)
0
votes
1answer
276 views
How to draw jitter plot using gnuplot?
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 ...
8
votes
1answer
2k views
Visualizing dependencies coded up in makefiles as a graph
Closely related to How to display dependencies given in a makefile as a tree? But the answers given there is not satisfactory (i.e. do not work).
Is there a tool to visualize the Directed Acylic ...
0
votes
1answer
959 views
gnuplot - is there a way to make a 1-variable live plot display the latest value with a label?
I am using a data-logging system that adds a value to a data file called today.dat every 2 minutes.
Here is what the data looks like:
Here is the gnuplot program I use, where X is time and Y is ...
1
vote
2answers
174 views
Mathpad alternative
I was looking for some kind of a plotter, graphic calculator to produce images, such as eclipse, parabola, logarithm etc. I saw one on wikipedia https://en.wikipedia.org/wiki/File:Lemniscate_of_Booth....
2
votes
1answer
12k views
How to plot a CDF from array using matplotlib python
I wrote a python program that basically takes a text file with 86400 lines containing web server ping responses. I extract the round trip from each line and add it to an array called roundtriptimes. I ...
1
vote
0answers
270 views
How to plot CDF from a sorted list
So I have written shell script to ping a web server 86,400 times and write the output into a text file. Example of one ping below:
64 bytes from a104-100-153-112.deploy.static.akamaitechnologies.com (...
1
vote
1answer
368 views
How to plot one dimensional data with margin of error in LibreOffice Calc?
I have some one dimensional classified data from several benchmarks with a margin of error. How can I plot them in LibreOffice Calc 4.3 with error bars?
The data follows this scheme with more ...
1
vote
1answer
764 views
How to use bash shell for gnuplot to show Greek letter?
I want to write a bash shell for gnuplot to produce figures automatically. But my figure includes Greek letters inside. I have known their ASCII number, how can I show them correctly in figures after ...
11
votes
2answers
4k views
Combine multiple PDF files into one (arranged in a matrix)
Having a set of PDF files, lets say: in-01.pdf, in-02.pdf, in-03.pdf, ... I would like to combine all of them into a single one, forming an M x N matrix.
The command montage allows for doing so (M ...
5
votes
1answer
1k views
How to get rid of unnecessary lines in gnuplot
So using gnuplot, and my code looks like this:
set isosamples 40
unset key
set title "Radial Matrix Elements"
set xrange [1:15]
set yrange [1:15]
set xlabel "n1*"
set ylabel "n2*"
set zlabel 'R'
...
2
votes
1answer
14k views
how to plot multiple graphs in one plot?
I want a plotting script that will plot multiple graphs on the same plot where the values of my data have the same x coordinate. This will show the differences of each variable in the plot. I tried to ...
1
vote
1answer
80 views
Recommended app for elaborating “System Charts” out of a Makefile in Ubuntu?
I'm looking for an application that is capable of plotting graphically as boxes on a chart (System Chart) all the components and operations of a Makefile so that the chart be taped prominently to the ...
3
votes
2answers
473 views
How do I convert my old PC to a data logging and presentation terminal?
Take an old PC (e.g. 1.8GHz P4 with 256MB RAM), install e.g. Ubuntu 10.04 LTS on it.
Now go to your PIC or AVR based home project and hook up the thing. With only three connections and the onboard ...
2
votes
1answer
200 views
Illustrate the difference of two squares via the command line
So, after 10 years of wanting to study the book that Ramanujan relied upon for a lot of his early strides in mathematics, it's 2012, and the book is finally online.
To celebrate, I want to go through ...
3
votes
2answers
420 views
gnuplot 'with lines' produces unwanted “boxes”
I have following commands:
set xdata time
set timefmt "%s"
set terminal jpeg size 800,600
set output "image.jpg"
set yrange [-100:]
plot "file" using 1:2
Which provide the following output:
But ...
12
votes
4answers
5k views
Free Matlab equivalent for Linux
My collaborators are using Matlab to do some simulations. Is there an open source alternative I could use on Linux to run these scripts? It would need to be fairly closely compatible with the (1) ...
4
votes
2answers
2k views
Moving average on a log file with awk or other unix utilities?
Scenario:
I have a log file that has a few number of entry "classes", like this:
R0 dx=0.00500 rb=0.00000 sn=1 3145.88 2.59 0.08 se=21315 id=16190
R0 dx=0.00300 rb=-1.00000 sn=1 3150.40 2.38 0.05 ...
2
votes
1answer
2k views
How to plot the output of a command
How can I plot the output of this command line with GNUPlot? What should the diagram script look like?
I want a histogram.
wget -O - -o /dev/null http://www.stackoverflow.com/ |
cat | cat | sed "s/&...
9
votes
4answers
3k views
Any (text based) plotting tools in unix toolbox?
I was wondering if there are any generic plotting tools available in the unix toolbox?
By plotting I mean simple bars or things you see in many curses based utilities.
And by unix toolbox I mean ...
6
votes
1answer
370 views
Which tools for ASCII portfolio visualization?
I. I want to do a simple graph from timestamp YEAR-month-day to valuation, not wanting to use spreadsheets. Is there some ASCII tool for it to see it on CLI? There are over 500k lines of data, and I ...