08-08-2009
GNUplot is rather precise about the input format of the data it receives. Ensure that the data is aligned correctly (one tab spacing and not an occasional double tab), that the data is in UNIX format, that there are no non-ASCII characters, that there are no headers or footers to break the reading of data and that the permissions are set correctly.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I am a beginner using UNIX, and was wondering how to use gnuplot from UNIX on my pc. I am connected remotely to my work's UNIX server using Secure Shell Client, and gnuplot won't open a new window when I use the plot command. How do I do this?
Moreover, is it possible to save things from the... (0 Replies)
Discussion started by: KTTFB64
0 Replies
2. UNIX and Linux Applications
I'm running a simulation (programmed in C) which makes calls to gnuplot periodically to plot data I have stored.
First I open a pipe to gnuplot and set it to multiplot:
FILE * pipe = popen("gnuplot", "w");
fprintf(pipe, "set multiplot\n");
fflush(pipe);
(this pipe stays open until the... (0 Replies)
Discussion started by: sedavidw
0 Replies
3. Shell Programming and Scripting
Hi All,
Seems I have an xargs stdin problem that I don't understand.
I have a script (call it myscript.sh) that takes the names of one or more file(s) specified on the command line and creates a single gnuplot command file containing multiple records, one for each specified file. Each of... (9 Replies)
Discussion started by: paulianna2002
9 Replies
4. Emergency UNIX and Linux Support
Dear All,
I am new to GNUPLOT :D and dont know how it works, but actually there is a LINUX script generated by me which is running & capturing data in real time, the problem is that i want to plot that data in real time using GNUPLOT.:confused:
please help.:wall: (5 Replies)
Discussion started by: jojo123
5 Replies
5. UNIX for Dummies Questions & Answers
I would like to ask if I have already plot a graph using gnuplot, the setting(made by others) is in "gnuplot.defaults":
gnuplot> load '<ParadisDir>/inputs/gnuplot.defaults'
gnuplot> splot 'box.in' with lines, '0t0001' w lines
How to transform it to bmp file? (or other types of pictures?)
... (2 Replies)
Discussion started by: kelvin490
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Im trying to plot a time series with gnuplot. this is my script
set xdata time
set yrange
set timefmt "%H"
set xrange
set format x "%H:%M:%S"
plot "time_vs_times.txt" using 1:2 title 'Interarrival time' with points lw 2
and this is my data
11:14:18 5
11:14:19 10... (10 Replies)
Discussion started by: jamie_123
10 Replies
7. Shell Programming and Scripting
Hi!
i want to print ot my data of the last seven days with gnuplot.
in a script i put my gnuplot-script and at the top i generate my date-variable.
#/bin/bash -e
# Gnuplot script "API_Status.txt"
# set terminal postscript color landscape dl 2 lw 2 'Helvetica' 15 ;
# set output... (2 Replies)
Discussion started by: IMPe
2 Replies
8. Shell Programming and Scripting
Hello
I have a text file with tens of thousands of rows
The format is
x y
where both x and y can be anything between -100 and +100.
What I would like to do is have a 3d gnuplot where there are 10,000 squared or bins and each bin will count how many rows have a value that would be... (1 Reply)
Discussion started by: garethsays
1 Replies
9. Shell Programming and Scripting
Need assistance in getting a script right. It requires little tweaking and I am not getting it right .
Using below data and the below script it creates a table with png file but regarding the time it create 6,7,8 and i want each time 6:15 ,6:30 and so on
So that i can view the exact graph... (3 Replies)
Discussion started by: ajayram_arya
3 Replies
TBL(1) General Commands Manual TBL(1)
NAME
tbl - format tables for nroff or troff
SYNOPSIS
tbl [ file ... ]
DESCRIPTION
Tbl is a preprocessor for formatting tables for nroff or troff(1). The input files are copied to the standard output, except for segments
of the form
.TS
options ;
format .
data
.T&
format .
data
. . .
.TE
which describe tables and are replaced by troff requests to lay out the tables. If no arguments are given, tbl reads the standard input.
The (optional) options line is terminated by a semicolon and contains one or more of
center center the table; default is left-adjust
expand make table as wide as current line length
box
doublebox
enclose the table in a box or double box
allbox enclose every item in a box
tab(x) use x to separate input items; default is tab
linesize(n)
set rules in n-point type
delim(xy)
recognize x and y as eqn(1) delimiters
Each line, except the last, of the obligatory format describes one row of the table. The last line describes all rows until the next .T&,
where the format changes, or the end of the table at .TE. A format is specified by key letters, one per column, either upper or lower
case:
L
Left justify: the default for columns without format keys.
R
Right justify.
C
Center.
N
Numeric: align at decimal point (inferred for integers) or at
S
Span: extend previous column across this one.
A
Alphabetic: left-aligned within column, widest item centered, indented relative to L rows.
^
Vertical span: continue item from previous row into this row.
-
Draw a horizontal rule in this column.
=
Draw a double horizontal rule in this column.
Key letters may be followed by modifiers, also either case:
| Draw vertical rule between columns.
|| Draw a double vertical rule between columns.
n Gap between column is n ens wide. Default is 3.
Ffont Use specified font. B and I mean FB and FI.
T Begin vertically-spanned item at top row of range; default is vertical centering (with
Pn Use point size n.
Vn Use n-point vertical spacing in text block; signed n means relative change.
W(n) Column width as a troff width specification. Parens are optional if n is a simple integer.
E Equalize the widths of all columns marked E.
Each line of data becomes one row of the table; tabs separate items. Lines beginning with are troff requests. Certain special data items
are recognized:
_
Draw a horizontal rule in this column.
=
Draw a double horizontal rule in this column. A data line consisting of a single or draws the rule across the whole table.
\_
Draw a rule only as wide as the contents of the column.
Rx
Repeat character x across the column.
^
Span the previous item in this column down into this row.
T{
The item is a text block to be separately formatted by troff and placed in the table. The block continues to the next line begin-
ning with T}. The remainder of the data line follows at that point.
When it is used in a pipeline with eqn, the tbl command should be first, to minimize the volume of data passed through pipes.
EXAMPLES
Let <tab> represent a tab (which should be typed as a genuine tab).
.TS
c s s
c c s
c c c
l n n.
Household Population
Town<tab>Households
<tab>Number<tab>Size
Bedminster<tab>789<tab>3.26
Bernards Twp.<tab>3087<tab>3.74
Bernardsville<tab>2018<tab>3.30
.TE
Household Population
Town Households
Number Size
Bedminster 789 3.26
Bernards Twp. 3087 3.74
Bernardsville 2018 3.30
SOURCE
/sys/src/cmd/tbl
SEE ALSO
troff(1), eqn(1), doctype(1)
M. E. Lesk and L. L. Cherry, ``TBL--a Program to Format Tables'', Unix Research System Programmer's Manual, Tenth Edition, Volume 2.
TBL(1)