MINMAX
Section: Misc. Reference Manual Pages (l)
Updated: DATE
Index
Return to Main Contents
NAME
minmax - Find extreme values in ASCII tables
SYNOPSIS
minmax [ asciifiles] [ -H ] [ -Idx[/dy] ] [ -: ]
DESCRIPTION
minmax reads its standard input [or from asciifiles] and finds the
extreme values in each of the columns. It recognizes NaNs and
will print warnings if the number of columns vary from record to record.
As an option, minmax will find the extent of the first two columns rounded
up and down to the nearest multiple of dx/dy. This output will be in the form
-Rw/e/s/n which can be used directly in the command line for other programs.
- xyzfile
-
ASCII file holding a fixed number of data columns.
OPTIONS
#include "explain_-H.txt"
- -I
-
Report the min/max of the first two columns to the nearest multiple of dx and dy,
and output this in the form -Rw/e/s/n.
#include "explain_-t.txt"
Only works when -I is selected.
EXAMPLES
To find the extreme values in the file ship_gravity.xygd, try
minmax ship_gravity.xygd
Output should look like
ship_gravity.xygd: N = 6992 <326.125/334.684> <-28.0711/-8.6837> <-47.7/177.6> <0.6/3544.9>
To find the extreme values in the file track.xy to the nearest 5 units and use this
region to draw a line using psxy, try
psxy `minmax -I5 track.xy` track.xy -Jx1 -B5 -P > track.ps
SEE ALSO
gmt
#include "refs.i"
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- EXAMPLES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 07:10:54 GMT, January 07, 2025