# dgraph(1) [hpux man page]

```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.

bgraph(1), gcomp(1), icalc(1), igraph(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

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.

bgraph(1), dgraph(1), icalc(1), igraph(1)

Man Page

## Perl GD::Graph and outputting to a graphics file

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...

## Graph generation

How can I generate graphs using perl in unix solaris environment? Please suggest.

## Draw a Horizontal and Vertical line on UNIX

I want to draw a horizontal and vertical line on Unix. Please suggest some solution.

## Ghostscript output file numbering?

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...

## Not to execute any graph if the file in a directory is zero bytes

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...

## Help with Plotting a graph using Perl

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...

## Automatic generate 3D pie Graph

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 <-...

## Basic Ubuntu command or script list

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...

## script for multiple files

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...

## Memory utilization issue

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, ...