bargrid - function to display progress bar grid and compute parameters for exbar
void bargrid( int ntraces, float *bar, int *ibar, int *invbar )
Basic Seismic
Utilities (BSU) function displays a progress bar grid and
computes parameters for the exbar.c function which
does the actual drawing of the progress bar to the screen.
C-language version.
NOTE: The Fortran version of this is pltbar.f
Arguments
ntraces (int)
Number of traces to be processed.
*bar (float)
Pointer for number of traces divided by 50
*ibar (int)
Pointer for integer version of bar
*invbar (int)
Pointer for reciprocal of bar
NOTE:
Values for bar, ibar, invbar are needed by
exbar.c
cmst(1), exbar(3) Fortran: pltbar(3)
No known bugs
Copyright © 2024 by Paul Michaels
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
P. Michaels, PE. <[email protected]>