Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!ames!ucbcad!ucbvax!decvax!tektronix!uw-beaver!ubc-vision!alberta!myrias!cg From: cg@myrias.UUCP Newsgroups: comp.misc Subject: Histogram program for HP-28C Message-ID: <485@myrias.UUCP> Date: Tue, 17-Feb-87 19:17:39 EST Article-I.D.: myrias.485 Posted: Tue Feb 17 19:17:39 1987 Date-Received: Sat, 21-Feb-87 16:08:03 EST Distribution: na Organization: Myrias Research, Edmonton Lines: 24 Keywords: histogram HP-28C calculator Is this the correct group for this? Anyway, a friend and I were playing with my new HP-28C calculator this weekend and played with the graphics a bit. After rearranging our program a bit, the result is one which will plot a histogram of any column of the statistics matrix. Put the column number on the stack and let it go. In the following, '$' means the sigma character. HIST: << -> c << PPAR 's' STO (1,0) PMIN N$ MAX$ R->C PMAX CLLCD 1 N$ FOR i i 0 '$DAT' i c 2 ->LIST GET FOR y DUP y R->C PIXEL NEXT DROP NEXT s 'PPAR' STO 's' PURGE >> >> Great fun!! Chris Gray {ubc-vision,sask,ihnp4}!alberta!myrias!cg