help-octave
[Top][All Lists]
Advanced

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

Re: 3d plot projection


From: Ben Abbott
Subject: Re: 3d plot projection
Date: Mon, 23 Apr 2012 13:57:26 -0400

On Apr 23, 2012, at 12:29 PM, willi k wrote:

> Dear all,
> I want to visualize some 3D shapes in a box (see pictures), but when I
> change the view from [0,0] to a more 3-dimensional view angle, the
> projection gets messed up. 
> 
> The first picture is after application of: 
> set(gca,"view",[0,0])   
> the second after application of:
> set(gca,"view",[0,.00000001]).
> But in both cases the black shape should stay approximately round!
> 
> Is it possible to change the projection (couldn't find anything), or use
> another backend to get rid of this deformation?
> 
> I'm using octave 3.6.1 with Gnuplot Version 4.4 patchlevel 2  on ubuntu
> 10.04 
> 
> best regards
> Willi
> 

It sounds like you're trouble with gnuplot's approximation for hidden-line 
removal.

Please try Octave's native OpenGL backend instead. Start with ...

        close all
        graphics_backend fltk

... and then try your plots.

Ben


reply via email to

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