I am treating the data as an X,Y coordinate and first value is X and the second Y. I have a static point like (1724850,7450200). What I want is to draw a line between each X,Y and my static point. Also while drawing the line I want to make some specification; if the third field value is bigger than -70, I want to draw it green. If it is between -70 and -85, yellow and if it is smaller than -85, red.
I tried to use arrow command of gnuplot but I could not succedd. I am trying hard to plot this data in this way.
Any help is much appreciated again, thank you.
---------- Post updated at 09:30 AM ---------- Previous update was at 08:21 AM ----------
Here is my code but it gives nothing, only a blank page;
It should give multiple lines drawn from the origin point to the multiple other points.
---------- Post updated at 05:08 PM ---------- Previous update was at 09:30 AM ----------
I also tried to use 'set arrow' command but properties for that command does not seem to take data from file....
Hi again. Sorry if it seems like I'm spamming the boards a bit, but I figured I might as well ask all the questions I need answers to at once, and hopefully at least get some.
I have installed Solaris 10 on a server. The default text editors are there (vi, ex, ed, maybe others, I know emacs is... (4 Replies)
Hi,
I am trying to make a plot of an ASCII file using GNUplot, but I keep getting error msg:
for example plot filename.txt
It says that (.txt ) is not identified ... I tried to write it without the .txt part, but I also get the error msg.
Any idea why? :confused: (1 Reply)
Hi I am trying to fit my histogram data with a gaussian model and am encountering two problems:
1. I can't seem to fit the histogram data with a model
fit y(x) 'bin.txt' using 2:xtic(1) via a,b,c (error: need 2 to 7 using specs)
2. Even when I manually guess the correct parameters for my fit and... (1 Reply)
Dear all,
I have numerous dat files (a.dat, b.dat...) containing 500 numeric values each. I would like to count them, based on their range and obtain a histogram or a counter.
INPUT:
a.dat
1.3
2.16
0.34
......
b.dat
1.54
0.94
3.13
.....
... (2 Replies)
I have a single file that looks like this:
1.62816
1.62816
0.86941
0.86941
0.731465
0.731465
1.03174
1.03174
0.769444
0.769444
0.981181
0.981181
1.14681
1.14681
1.00511
1.00511
1.20385
1.20385 (2 Replies)
Hi All,
I am new to Grace and would like to plot histograms. My input files have one column for frequencies and another column for distances, for example:
1 2.6
4 2.7
5 2.8
2 3.9
2 4.0
4 4.7
4 4.8
4 4.9
...
I want to plot a histogram ranging from 0 to 10 with... (0 Replies)
I am new to R and would like to calculate the percentage frequency distribution of h1 and h2. How can I combine h1 and h2 in one plot? I tried the following code.
h1=c(5.18,4.61,3.30,7.58,3.00,3.80,1.95,2.67,2.77,2.73,2.33,3.36,3.50,1.91,4.25,3.87,2.86,2.26,2.00,3.86,3.33,3.59,4.00)... (0 Replies)
Hi,
I have 2 files with similar structure - reference and test that I would like to BIN both and generate the comparison.
input files structure is:
a 3
b 10
c 3
d 7
e 1
f 4
g 9
h 6
I would like the output to be (lets say both reference and test are the file above - no diff)
BIN ... (3 Replies)
Discussion started by: yan1
3 Replies
LEARN ABOUT SUSE
gsl-randist
GSL-RANDIST(1) General Commands Manual GSL-RANDIST(1)NAME
gsl-randist - generate random samples from various distributions
SYNOPSYS
gsl-randist seed n DIST param1 param2 [..]
DESCRIPTION
gsl-randist is a demonstration program for the GNU Scientific Library. It generates n random samples from the distribution DIST using the
distribution parameters param1, param2, ...
EXAMPLE
Here is an example. We generate 10000 random samples from a Cauchy distribution with a width of 30 and histogram them over the range -100
to 100, using 200 bins.
gsl-randist 0 10000 cauchy 30 | gsl-histogram -100 100 200 > histogram.dat
A plot of the resulting histogram will show the familiar shape of the Cauchy distribution with fluctuations caused by the finite sample
size.
awk '{print $1, $3 ; print $2, $3}' histogram.dat | graph -T X
SEE ALSO gsl(3), gsl-histogram(1).
AUTHOR
gsl-randist was written by James Theiler and Brian Gough. Copyright 1996-2000; for copying conditions see the GNU General Public Licence.
This manual page was added by the Dirk Eddelbuettel <edd@debian.org>, the Debian GNU/Linux maintainer for GSL.
GNU GSL-RANDIST(1)