Skip to content

can not draw specific triangle in 3d surface chart #1474

Closed
@lwlwlwlw

Description

@lwlwlwlw

can not draw following data( triange) in 3d surface chart,

x,y,z
-1,-1,0
1,-1,0
0,1,1

Code that I have tried:

var x=[-1,0,1];
var y=[-1,1];
var z=[];

z1 = [
[0,null,0],
[null,1,null],
];

var data_z1 = {x:[-1,0,1],y:[-1,1],z: z1, type: 'surface'};
Plotly.newPlot('myDiv', [data_z1]);

Please help. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions