# # This file is encoded in (so called) SHIFT-JIS, # line delimitor is CR. # Histogram Goodies for Squeak 2.0 Broken English description This goodies is a modification for Squeak from Mr. AOKI's Histogram Goodies for VisualWorks 2.5 and VisualWave 1.0 Copyright (c) 1995-1998 AOKI Atsushi 1998/01/30 http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/Histgram.st http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/Histgram.txt Summary: You input sample (collection of numerical value) and you can get frequency, average, deviation and bar graph (histogram). How to install: FileIn this goodies and makes classes below in a category "Goodies-Histogram". HistogramController HistogramModel HistogramView HistogramFakeDialog This source adds no change to existing classes or methods. It completes within self. When you want to restore your image, please remove these classes "HistogramController", "HistogramModel", "HistogramView", "HistogramFakeDialog", from your system, simply. how to use: sample is between X1 to Xn: | aCollection aModel | aCollection := OrderedCollection new. aCollection add: X1. : : aCollection add: Xn. aModel := HistogramModel sample: aCollection. aModel open Evaluate above, you can get a histogram, average, deviation etc. ########################################################## 青木さんの http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/Histgram.st を Squeak 用にいじったものです。 ドキュメントは http://www.sra.co.jp/people/aoki/SmalltalkGoodies/VisualWorks/Histgram.txt を参照してください。 ---------------------------------------------------------- 西原聡士 (NISHIHARA Satoshi) e-mail: mailto:nishis@zephyr.dti.ne.jp URL: http://www.zephyr.dti.ne.jp/~nishis/ ----------------------------------------------------------