split up Solver3D's per-dimension code into Plot code