MathLib is installed.
I am running
(
var data = 1000.collect{ [1.0.rand, exprand(0.01, 1)]};
w = GUI.window.new(bounds: Rect(40, 40, 800, 800)).front;
a = ScatterView(w, Rect(10, 10, 760, 760), data, [0,1].asSpec, [0,1].asSpec);
a.drawAxis_(true).drawMethod_(\fillOval)
.symbolColor_(Color.blue(0.5, 0.5)).symbolSize_(5)
.xAxisName_("uniform").yAxisName_("exponential");
)
and I get the following error:
CALL STACK:
DoesNotUnderstandError:reportError
arg this =
Nil:handleError
arg this = nil
arg error =
Thread:handleError
arg this =
arg error =
Object:throw
arg this =
Object:doesNotUnderstand
arg this =
arg selector = ‘relativeOrigin_’
arg args = [*1]
ScatterView:initPlot
arg this =
arg parent =
arg bounds =
arg data = [*1000]
arg argSpecX =
arg argSpecY =
var widthSpec = nil
var heightSpec = nil
var cross =
var possibleMethods = [*4]
< closed FunctionDef >
var data = [*1000]
Interpreter:interpretPrintCmdLine
arg this =
var res = nil
var func =
var code = “(
var data = 1000.collect{ […”
var doc = nil
var ideClass =
Process:interpretPrintCmdLine
arg this =
^^ ERROR: Message ‘relativeOrigin_’ not understood.
Perhaps you misspelled ‘relativeOrigin’, or meant to call ‘relativeOrigin_’ on another receiver?
RECEIVER: a QUserView