help-octave
[Top][All Lists]
Advanced

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

Re: Platform dependent plots


From: Ben Abbott
Subject: Re: Platform dependent plots
Date: Tue, 05 Jan 2016 16:43:08 -0500


On Jan 5, 2016, at 2:48 PM, Clinton Winant <address@hidden> wrote:

On Tue, Jan 5, 2016 at 11:28 AM, Ben Abbott <address@hidden> wrote:
> On Jan 5, 2016, at 2:21 PM, Clinton Winant <address@hidden> wrote:
>
> With  Octave 4.0.0 and Gnuplot 4.6 patchlevel 4, 3 d plots produced in ubuntu 14.04 and Linux Mint 17.3 (based on ubuntu 14.04, the same script produces very different figures.  See attached
>
> I would love to run this down, but not sure which depencency I should check.  The results are independent of which graphics processor is invoked: fltk or gnuplot or qt
>
> Any suggestions appreciated
>
> Clinton

The first plot is produced using gnuplot and the second looks to be using an OpenGL toolkit.

Try adding

close all
graphics_toolkit gnuplot

to the top of the script. And then try …

close all
graphics_toolkit qt

Note that, since a figure maintains the toolkit that was active when it was created,  you need to include “close all”.

Ben


great  the problem is with the gnuplot toolkit.  What surprises me is that this script worked fine with earlier versions of octave, when I believe gnuplot was the only option.  

For now I am fine, but I would be more than happy to spend time on this if you think it might help others.

I can begin to articulate how grateful I am to you you and the others who respond to the calls for help.  You al make my work possible!

Clinton


The problem is a lack of robust hidden line removal for Gnuplot. Slight changes in the image might produce a better result.

Octave’s native OpenGL toolkits were added (in part) due to such problems with Gnuplot.

Ben


reply via email to

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