octave-maintainers
[Top][All Lists]
Advanced

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

Re: [colorbar] wrong dimensions with 'axis square'


From: Shai Ayal
Subject: Re: [colorbar] wrong dimensions with 'axis square'
Date: Tue, 24 Aug 2010 19:45:16 +0300



2010/8/24 Jordi Gutiérrez Hermoso <address@hidden>
On 24 August 2010 09:32, bpabbott <address@hidden> wrote:

> The issue is with how Octave handles 3D and 2D images. The "axis equal"
> command doesn''t work in the proper way for 3D images. In this case a 3D
> object is being view in a 2D perspective. That an be fixed by checking for
> the 2D perspective with displaying 3D objects.

I'm still working on a C++ implementation of __calc_dimensions__ from
__go_draw_axes___.m for the somewhat related problem of being able to
rotate 3-dimensionally 2d plots. I haven't been able to figure out yet
how to get at objects from C++, since I think my attempts so far
aren't giving me the same things. Plus, I seem to have created some
sort of race condition with my attempts.

Here's the patches I'm working on. I am again asking for help figuring
out the graphics backend.

I think you are lacking a bit on the error checking in your calc_dimensions function. You are not checking all grphics handles. For a very similar function iterating over all kids, have a look at pixel2axes_or_ca function in /src/DLD-FUNCTIONS/fltk_backend.cc

Shai
 

reply via email to

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