The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

PDL::Graphics::TriD::Graph - PDL 3D graph object with axes

SYNOPSIS

use PDL::Graphics::TriD;
use PDL::Graphics::TriD::Graph;
$g = PDL::Graphics::TriD::Graph->new;
$g->default_axes;
$g->add_dataseries(PDL::Graphics::TriD::Lattice->new($y,$c), "lat0");
$g->bind_default("lat0");
$g->add_dataseries(PDL::Graphics::TriD::LineStrip->new($y+pdl(0,0,1),$c), "lat1");
$g->bind_default("lat1");
$g->scalethings;
$win = PDL::Graphics::TriD::get_current_window();
$win->clear_objects;
$win->add_object($g);
$win->twiddle;