C Library Functions  - plotst (3)

NAME

plotst(3f) - [M_datapac:GENERIC_LINE_PLOT] generate a line printer plot of Y vs X for the terminal (71 characters wide)

CONTENTS

Synopsis
Description
Examples
Author
Maintainer
License

SYNOPSIS

SUBROUTINE PLOTST(Y,X,N,D,Dmin,Dmax)

DESCRIPTION

plotst(3f) yields a narrow-width (71-character) of y(i) versus x(i):

1. with only those points (x(i),y(i)) plotted for which the corresponding value of d(i) is between the specified values of dmin and dmax.

its narrow width makes it appropriate for use on a terminal.

the use of the subset definition vector d gives the data analyst the capability of plotting subsets of the data, where the subset is defined by values in the vector d.

! INPUT ARGUMENTS--Y = THE VECTOR OF
! (UNSORTED OR SORTED) OBSERVATIONS
! TO BE PLOTTED VERTICALLY.
! --X = THE VECTOR OF
! (UNSORTED OR SORTED) OBSERVATIONS
! TO BE PLOTTED HORIZONTALLY.
! --N = THE INTEGER NUMBER OF OBSERVATIONS
! IN THE VECTOR Y.
! --D = THE VECTOR
! WHICH ’DEFINES’ THE VARIOUS
! POSSIBLE SUBSETS.
! --DMIN = THE VALUE
! WHICH DEFINES THE LOWER BOUND
! (INCLUSIVELY) OF THE PARTICULAR
! SUBSET OF INTEREST TO BE PLOTTED.
! --DMAX = THE VALUE
! WHICH DEFINES THE UPPER BOUND
! (INCLUSIVELY) OF THE PARTICULAR
! SUBSET OF INTEREST TO BE PLOTTED.
! OUTPUT--A NARROW-WIDTH (71-CHARACTER) TERMINAL PLOT
! OF Y(I) VERSUS X(I),
! FOR ONLY OF A SPECIFIED SUBSET OF THE DATA.
! THE BODY OF THE PLOT (NOT COUNTING AXIS VALUES
! AND MARGINS) IS 25 ROWS (LINES) AND 49 COLUMNS.

EXAMPLES

Sample program:

   program demo_plotst
   use M_datapac, only : plotst
   implicit none
   ! call plotst(x,y)
   end program demo_plotst

Results:

AUTHOR

The original DATAPAC library was written by James Filliben of the Statistical Engineering Division, National Institute of Standards and Technology.

MAINTAINER

John Urban, 2022.05.31

LICENSE

CC0-1.0


Nemo Release 3.1 plotst (3) July 22, 2023
Generated by manServer 1.08 from 046823a3-e02c-475e-92b6-b197a2ec8f55 using man macros.