Skip to content

Basic example on website fails to compile with unresolved references #99

Description

@obadz

The snippet

    figure(1)
    // Second parameter is color
    plot(a, 'b', "First Run")
    plot(a+1, 'y', "First Run Offset")
    xlabel("Time (s)")
    ylabel("Magnitude")
    title("White Noise")

    figure(2)
    plot(b, 'g') // green
    xlabel("Velocity (lightweeks/minute)")
    ylabel("Intelligence")
    title("Random Walk")

from https://koma.kyonifer.com/index.html fails to compile with these errors:

e: main.kt: (11, 5): Unresolved reference: figure
e: main.kt: (13, 5): Unresolved reference: plot
e: main.kt: (14, 5): Unresolved reference: plot
e: main.kt: (15, 5): Unresolved reference: xlabel
e: main.kt: (16, 5): Unresolved reference: ylabel
e: main.kt: (17, 5): Unresolved reference: title
e: main.kt: (19, 5): Unresolved reference: figure
e: main.kt: (20, 5): Unresolved reference: plot
e: main.kt: (21, 5): Unresolved reference: xlabel
e: main.kt: (22, 5): Unresolved reference: ylabel
e: main.kt: (23, 5): Unresolved reference: title

Is the plotting library really included with the listed dependency (below) or am I doing something wrong?

dependencies{
    compile group: "com.kyonifer", name:"koma-core-ejml", version: "0.12"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions