DGRAPH(1) General Commands Manual DGRAPH(1)NAME
dgraph - do a set of graphs to a dumb terminal
SYNOPSIS
dgraph [ -w width ][ -l length ][ +variable value .. ][ file .. ]
DESCRIPTION
Dgraph reads each graph file in sequence and converts it to a character plot displayable on any ascii device. If no files are given, the
standard input is read.
Across the top of the plot, the extrema are printed. This is the only indication of the axis size. Curves are represented with their
respective letter ('A' for curve A, etc.) at each point. Where two or more curves cross, a number is shown instead.
The size of the output array can be specified as a certain width and length. The default size is 79 by 22.
Variables can be set explicitly with +variable value options. See bgraph(1) for details.
EXAMPLE
To get a quick glimpse of the sine function from 0 to 4.
dgraph
A(x)=sin(x)
Anpoints=100
xmin=0
xmax=4
^D
AUTHOR
Greg Ward
BUGS
There is no mechanism provided for undefining a variable.
SEE ALSO bgraph(1), gcomp(1), icalc(1), igraph(1)RADIANCE 6/24/98 DGRAPH(1)
Check Out this Related Man Page
GCOMP(1) General Commands Manual GCOMP(1)NAME
gcomp - do computations on a graph file.
SYNOPSIS
gcomp [ -amilh ][ +variable value .. ][ file .. ]
DESCRIPTION
Gcomp reads each graph file in sequence and computes the specified calculations. The type options are as follows:
-n Print the name of each curve.
-a Print average and standard deviation of each curve.
-m Print minimum and maximum for each curve.
-i Print Romberg's approximation to the integral of each curve.
-l Print the slope, intercept, and correlation coefficient using the least squares method of linear regression.
-h Do not print a header in the output.
The calculations will be displayed as columns in the order they are specified on the command line. If no files are given, the standard
input is read.
Variables can be set explicitly with +variable value options. The only truely useful variables for this program are xmin and xmax. They
determine boundaries for the calculations.
EXAMPLE
To compute the approximate integral of sin(x)/log(x) from 2 to 4:
gcomp -i
A(x)=sin(x)/log(x);
Anpoints=100;
xmin=2;
xmax=4;
^D
AUTHOR
Greg Ward
BUGS
Only the y values can be used for computation.
SEE ALSO bgraph(1), dgraph(1), icalc(1), igraph(1)RADIANCE 6/24/98 GCOMP(1)
To successfully export a perl GD::Graph object to a graphics file (e.g. a .png file), do you do the following ?
# Set graph data
$graph->set(....);
$graph->plot(\@graph_data);
open(IMG,'>file.png') or die $!;
binmode IMG;
print IMG $graph->png;
close IMG;
Reason Im asking is... (1 Reply)
I am using ghostscript to convert a multi-page pdf file to individual jpg files. I am wondering if there is a way to get ghostscript to start numbering the output jpg files from zero? What i am trying to convey is that it starts naming my files from page_001.jpg, page_002.jpg, etc., and would like... (0 Replies)
How to code shell script to know if the file in a dirctory is empty i.e., zero byte then not to execute any graph.Please help on this thanks in advance.
---------- Post updated at 08:18 AM ---------- Previous update was at 08:14 AM ----------
I know if clause wil help.my question is how to... (7 Replies)
Dear all,
I have a hash in my data file and I'd like to output the data contained within as a graph (can be lines or histogram form) but I dont know how to do this with Perl.
Can somone suggest how I can have a graph with Keys of the hash being on the X-axis and the Values for the keys plotted on... (1 Reply)
Hello all,
I need the scripts automatic generate 3D pie Graph. What I have now is as below:
Run at terminal by $ CMD R BATCH graph.R
# 3D Exploded Pie Chart
library(plotrix)
slices <- c(20, 15, 4, 15, 8)
lbls <- c("Media", "Document", "DB", "Others", "Available")
pct <-... (5 Replies)
I am completely new to Ubuntu 10.04 and Linux in general. I have spent many years in the past using DOS and I consider myself to be at advanced level with various Windows platforms.
I have just download Ubuntu 10.04 and burnt to disk. So now I need to know please, is there a list of basic... (2 Replies)
Hey guyz,
I am using an application called "bigWigToBedGraph"
It has to be used like this in a folder contained the app and the fils:
bigWigToBedGraph in.bigWig out.bedGraph
Now, I have many files which I put them in one directory. They are all bigWig files. I wanna convert them to... (3 Replies)
I have parallels container running on Suse. From top command, I am not able to see, what is eating up so big amount of memory.
top - 07:44:24 up 172 days, 18:52, 1 user, load average: 0.01, 0.02, 0.00
Tasks: 44 total, 1 running, 43 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, ... (1 Reply)