[Top][All Lists]

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

Re: image, imshow and similar display empty axes

From: Nicolas Pavillon
Subject: Re: image, imshow and similar display empty axes
Date: Wed, 7 Nov 2012 10:18:35 +0900


The qt terminal in an option to gnuplot in Macports (that I assume you use from your description). You must therefore ensure to install gnuplot +qt. Then, you can run setenv("GNUTERM", "qt") which should work. 



On Nov 7, 2012, at 10:00 AM, edmund ronald <address@hidden> wrote:

For information about changes from previous versions, type `news'.

octave:1> graphics_toolkit gnuplot
octave:2> setenv GNUTERM qt
octave:3>  img = uint8 (round (255 * rand (5,4,3)));
octave:4> image (img)
Unknown or ambiguous terminal name 'qt'

gnuplot> set terminal qt 
         line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list

octave:5> set terminal
error: invalid conversion from string to real N-d array
error: set: expecting graphics handle as first argument

On Wed, Nov 7, 2012 at 1:35 AM, Ben Abbott <address@hidden> wrote:
On Nov 6, 2012, at 6:16 PM, edmund ronald wrote:

> I installed MacPorts octave-develon Mac 10.6.8 in order to be able to use the
> Image processing toolbox.
> I downloaded the Gnuplot from the Macsyma sourceforge archive, but also
> built one using the universla variant from Macports because my system was
> crashing.
> I can plot nicely from Octave with both X11 and Aquaterm.
> I can do Imread, and do Imshow to X11
> Imshow to Aquaterm brings up a blank window.
> If I may be allowed an aside to the maintainers of the "packaged" octave,
> compiling a version which cannot load in the image toolbox is not a smart
> move.  It took me some time to figure out the workaround of compiling
> Octave-devel

What do you refer to by "packaged" octave ?

What didin't work with regards to the image toolbox?

Regarding the blank AquaTerm image, a bug report has been filed with Gnuplot.

The Gnuplot provided by MacPorts includes a Qt terminal.  You may be happier with qt than with x11.

        graphics_toolkit gnuplot
        setenv GNUTERM qt
        img = uint8 (round (255 * rand (5,4,3)));
        image (img)


Help-octave mailing list

reply via email to

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