Skip to content

af::plot function #972

@maxineliuqun

Description

@maxineliuqun

Hi,

I am trying to use "af::plot" to plot a vector, but it does not display any plots. Here is a sample code:

    int width = 2540;
    af::array Y = af::constant<float>(62280.0, (width), f32);
    af::array X = af::seq((double)1, (double)width);

    af::Window plotWin("plot");
    while (!plotWin.close())
        plotWin.plot(X, Y);

I would appreciate any help! Thanks!

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions