------------------------------------------------------------------------ IMSL Name: PLOTP/DPLOTP (Single/Double precision version) Revised: June 10, 1991 Purpose: Print a plot of up to 10 sets of points. Usage: CALL PLOTP (NDATA, NFUN, X, A, LDA, INC, RANGE, SYMBOL, XTITLE, YTITLE, TITLE) Arguments: NDATA - Number of independent variable data points. (Input) NFUN - Number of sets of points. (Input) NFUN must be less than or equal to 10. X - Vector of length NDATA containing the values of the independent variable. (Input) A - Matrix of dimension NDATA by NFUN containing the NFUN sets of dependent variable values. (Input) LDA - Leading dimension of A exactly as specified in the dimension statement of the calling program. (Input) INC - Increment between elements of the data to be used. (Input) PLOTP plots X(1+(I-1)*INC) for I = 1, 2, ..., NDATA. RANGE - Vector of length four specifying minimum x, maximum x, minimum y and maximum y. (Input) PLOTP will calculate the range of the axis if the minimum and maximum of that range are equal. SYMBOL - CHARACTER string of length NFUN. (Input) SYMBOL(I : I) is the symbol used to plot function I. XTITLE - CHARACTER string used to label the x-axis. (Input) YTITLE - CHARACTER string used to label the y-axis. (Input) TITLE - CHARACTER string used to label the plot. (Input) Remarks: 1. Informational errors Type Code 3 7 NFUN is greater than 10. Only the first 10 functions are plotted. 3 8 TITLE is too long. TITLE is truncated from the right side. 3 9 YTITLE is too long. YTITLE is truncated from the right side. 3 10 XTITLE is too long. XTITLE is truncated from the right side. The maximum number of characters allowed depends on the page width and the page length. See Remark 5 below for more information. 2. YTITLE and TITLE are automatically centered. 3. For multiple plots, the character M is used if the same print position is shared by two or more data sets. 4. Output is written to the unit specified by UMACH. 5. Default page width is 78 and default page length is 60. They may be changed by calling PGOPT in advance. Keywords: Utilities; Function plot; Line printer graphics; Character graphics GAMS: L3e3a; Q Chapters: STAT/LIBRARY Line Printer Graphics MATH/LIBRARY Utilities Page No.: STAT/LIBRARY User's Manual page 1176 MATH/LIBRARY User's Manual page 1330