-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
124 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 12 additions & 8 deletions
20
packages/StatisticsWorkbench-Diagrams.package/SWBar.class/instance/bottomCaption..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
accessing | ||
bottomCaption: aString | ||
|
||
| bottomTextMorph | | ||
| bottomTextMorph labelMorph | | ||
|
||
bottomTextMorph := TextMorph new. | ||
bottomTextMorph contents: aString. | ||
bottomTextMorph color: self captionColor. | ||
self bottomLabelMorph: TransformationMorph new. | ||
self bottomLabelMorph addMorph: bottomTextMorph. | ||
self bottomLabelMorph angle: (0.25 * (Float pi)). | ||
self bottomLabelMorph topRight: self bottomCenter. | ||
self addMorph: self bottomLabelMorph. | ||
bottomTextMorph | ||
contents: aString; | ||
color: self captionColor. | ||
labelMorph := TransformationMorph new. | ||
labelMorph | ||
addMorph: bottomTextMorph; | ||
angle: (0.25 * (Float pi)); | ||
topRight: self bottomCenter. | ||
self | ||
addMorph: labelMorph; | ||
bottomLabelMorph: labelMorph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/StatisticsWorkbench-Diagrams.package/SWBar.class/instance/infoPopup..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
accessing | ||
infoPopup: aTextMorph | ||
|
||
infoPopup := aTextMorph |
1 change: 1 addition & 0 deletions
1
packages/StatisticsWorkbench-Diagrams.package/SWBar.class/instance/infoPopup.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
accessing | ||
infoPopup | ||
|
||
^ infoPopup |
2 changes: 1 addition & 1 deletion
2
packages/StatisticsWorkbench-Diagrams.package/SWBar.class/instance/isHidden.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
geometry | ||
isHidden | ||
|
||
^isHidden | ||
^ isHidden |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ages/StatisticsWorkbench-Diagrams.package/SWBubblePlot.class/instance/maxValuesPerData.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
as yet unclassified | ||
maxValuesPerData | ||
|
||
^maxValuesPerData | ||
^ maxValuesPerData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ as yet unclassified | |
receiveValue: aValue | ||
|
||
self threshold: aValue. | ||
self update. | ||
self update |
2 changes: 1 addition & 1 deletion
2
packages/StatisticsWorkbench-Diagrams.package/SWBubblePlot.class/instance/threshold.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
as yet unclassified | ||
threshold | ||
|
||
^threshold | ||
^ threshold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/StatisticsWorkbench-Diagrams.package/SWDiagram.class/instance/configureSlider..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
accessing | ||
configureSlider: aSliderMorph | ||
|
||
aSliderMorph | ||
extent: (100 @ 500); | ||
position: ((self position x - 150)@(self position y)); | ||
orientation: #vertical; | ||
minVal: (self globalMinimum: #z); | ||
maxVal: (self globalMaximum: #z); | ||
setValue: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/StatisticsWorkbench-Diagrams.package/SWDiagram.class/instance/extent..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
geometry | ||
extent: aPoint | ||
|
||
|width labelHeight| | ||
width := 0. | ||
labelHeight := 0. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/StatisticsWorkbench-Diagrams.package/SWDiagram.class/instance/legend..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
accessing | ||
legend: anObject | ||
|
||
legend := anObject |
11 changes: 11 additions & 0 deletions
11
packages/StatisticsWorkbench-Diagrams.package/SWDiagram.class/instance/normalizeData..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
visualization | ||
normalizeData: aSWData | ||
|
||
| stack | | ||
stack := (Array new: (aSWData first size)) collect: [:a | 0]. | ||
aSWData do: [:aData | | ||
aData doWithIndex: [:vector :index | | ||
stack at: index put: (vector y + (stack at: index))]]. | ||
aSWData do: [:aData | | ||
aData doWithIndex: [:vector :index | | ||
vector at: 2 put: (100 * (vector y) / stack at: index)]] |
2 changes: 1 addition & 1 deletion
2
packages/StatisticsWorkbench-Diagrams.package/SWDiagram.class/instance/normalized..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
adding/removing | ||
normalized: aBool | ||
|
||
normalized:= aBool | ||
normalized := aBool |
2 changes: 1 addition & 1 deletion
2
packages/StatisticsWorkbench-Diagrams.package/SWDiagram.class/instance/normalized.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
adding/removing | ||
normalized | ||
|
||
^normalized | ||
^ normalized |
2 changes: 1 addition & 1 deletion
2
packages/StatisticsWorkbench-Diagrams.package/SWDiagram.class/instance/sliderValueMorph.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
sliderValueMorph | ||
|
||
^sliderValueMorph | ||
^ sliderValueMorph |
9 changes: 9 additions & 0 deletions
9
packages/StatisticsWorkbench-Diagrams.package/SWDiagram.class/instance/stackData..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
visualization | ||
stackData: aSWData | ||
|
||
| stack | | ||
stack := (Array new: (aSWData first size)) collect: [:a | 0]. | ||
aSWData do: [:aData | | ||
aData doWithIndex: [:vector :index | | ||
stack at: index put: (vector y + (stack at: index)). | ||
vector at: 2 put: (stack at: index)]] |
Oops, something went wrong.