In case this helps, the layout calculations are at
https://code.jsoftware.com/wiki/Plot/Layout .

For example:

   load'plot'
   plot i.5
   Gxywh_jwplot_
26 34 434 301

On Sun, Oct 27, 2019 at 8:01 PM Arnab Chakraborty <[email protected]> wrote:

> Yes, Boss, that is a good idea. However, I am trying to plot the
> perspective projection of a somewhat complex 3d scene, and hence I need
> multiple calls to pd to add different parts to the scene. My current
> solution is to replace pd by a wrapper that updates the bounding box, and
> then calls pd. Then instead of calling pd'show' I call a function that sets
> the aspect (much like the way you have done), and then call pd'show'.
>
> But this involves redundant work, as pd is anyway keeping track of the
> bounding box. So the natural question is whether we may query pd regarding
> the current bounding box.
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to