octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphics: Title and label properties


From: Michael Goffioul
Subject: Re: Graphics: Title and label properties
Date: Tue, 22 Jul 2008 10:55:45 +0200

On Tue, Jul 22, 2008 at 4:34 AM, Daniel J Sebald <address@hidden> wrote:
> Yes, I'd suggest working with 3D vectors.  Keep the viewing angle
> information in some form.  (I suppose azimuth and elevation are one way, but
> not necessarily unique.)  But then translate that into some form of rotation
> matrix, call it R.  Then the translated position would be
>
> y = R x
>
> where R is 3 by 3 (or 2 by 3) and x is length 3.

This is handled in a more general way by storing transformation matrices
in the axes object. These matrices can be used by any backend (and they
are used as xform matrices in the OpenGL renderer). These are accessible
through hidden properties in the axes object.

> Gnuplot sort of developed with 2D code and 3D code as separate entities.
>  That caused a bit of a headache.
>
> What is the status of the graphics handles and such?  Has it moved along and
> will there be a need to build/verify a gnuplot backend any time soon?  Or is
> the graphics handles still far off?  (I tuned out of the list for a while.)

The 3.1.50 snapshot contains an experimental OpenGL renderer and
FLTK backend. It's still in embryonic stage, but it can already render
lines, surfaces and patches. The big missing for the moment is text
support.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]