1TriD::Graph(3) User Contributed Perl Documentation TriD::Graph(3)
2
3
4
6 PDL::Graphics::TriD::Graph - PDL 3D graph object with axes
7
9 use PDL::Graphics::TriD;
10 use PDL::Graphics::TriD::Graph;
11 $g = PDL::Graphics::TriD::Graph->new;
12 $g->default_axes;
13 $g->add_dataseries(PDL::Graphics::TriD::Lattice->new($y,$c), "lat0");
14 $g->bind_default("lat0");
15 $g->add_dataseries(PDL::Graphics::TriD::LineStrip->new($y+pdl(0,0,1),$c), "lat1");
16 $g->bind_default("lat1");
17 $g->scalethings;
18 $win = PDL::Graphics::TriD::get_current_window();
19 $win->clear_objects;
20 $win->add_object($g);
21 $win->twiddle;
22
23
24
25perl v5.36.0 2023-01-20 TriD::Graph(3)