Questions tagged [plotting]

34 questions
13
votes
4 answers

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) matlab language (2) the *.fig files - saved plots.
Grzenio
  • 5,747
  • 12
  • 32
  • 41
11
votes
2 answers

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 and N should be integers): montage -mode concatenate…
Peque
  • 3,354
  • 4
  • 29
  • 34
10
votes
1 answer

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 Graphs (DAGs) coded up in standard Makefiles? eg, a…
9
votes
4 answers

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 things that you can pipe data into them using standard…
Ali
  • 6,693
  • 6
  • 32
  • 37
6
votes
1 answer

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 want to see only a sketch of it like in…
user2362
5
votes
1 answer

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 plot using spreadsheet, but the plots are not…
AiB
  • 777
  • 3
  • 11
  • 29
4
votes
1 answer

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' splot 's1p.pun' u 1:2:4 with lines set view 135,135…
user72453
  • 41
  • 2
3
votes
2 answers

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 peripherals of every microcomputer, you now have a…
Vorac
  • 2,957
  • 8
  • 36
  • 53
3
votes
1 answer

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 proportional distance from zero on the high and low…
3
votes
2 answers

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 se=21316 id=16191 R1 dx=-0.00500 rb=1.00000 sn=-1…
Ali
  • 6,693
  • 6
  • 32
  • 37
2
votes
0 answers

xmgrace: bar graph vizualisation using batch

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 @s0 symbol fill pattern 1 @s0 symbol fill color 4 @TYPE bar @XAXIS TICK MAJOR…
2
votes
1 answer

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 type 0 s0 type BAR s0 line color 4 HARDCOPY DEVICE…
user3470313
  • 203
  • 1
  • 5
2
votes
2 answers

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 if I add with lines to the end of the plot-command,…
varesa
  • 2,336
  • 5
  • 20
  • 19
2
votes
1 answer

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 then sort the array and now want to be able to…
user192403
  • 31
  • 1
  • 1
  • 3
2
votes
1 answer

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/
1
2 3