Closed olekscode closed 1 year ago
Update
| p x y |
x := 0.0 to: 2 count: 10.
y := (x raisedTo: 2) - 2.
p := RSBarPlot new x: x y: y.
p horizontalTick doNotUseNiceLabel;
numberOfTicks: x size - 1;
asFloat.
p xlabel: 'X Axis'.
p verticalTick numberOfTicks: 10;
asFloat.
p ylabel: 'Y Axis'.
p title: 'Histogram'.
^ p
Here is an example
The default axis titles (X axis and Y axis) are way too large. Compare this to the ggplot. Axis titles have same size as tick labels - but slightly different colors. And it looks great!