help-octave
[Top][All Lists]
Advanced

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

Re: Plot command crashes Octave


From: Sunil Shah
Subject: Re: Plot command crashes Octave
Date: Sat, 9 Jul 2016 20:20:58 -0700

Ben,

I knew I was using qt graphics_toolkit. 

gnuplot toolkit also worked.  qt seemed faster and cleaner looking.

Sunil

Sunil

On Sat, Jul 9, 2016 at 2:52 PM, Ben Abbott <address@hidden> wrote:
> On Jul 9, 2016, at 3:30 PM, SunilShah <address@hidden> wrote:
>
> The problem was fixed by -
>
>> brew uninstall gnuplot
>> brew uninstall fontconfig
>> brew install fontconfig --universal
>> brew install gnuplot --with-qt
>
> Then in octave
>
>>> graphics_toolkit('qt')
>>> surfc(rand(20))
>
> works without problems
>
> -sunil

Thanks for the feedback. One clarifcation, the commend below selects the Qt OpenGL graphics toolkit (i.e. does not use gnuplot).

        graphics_toolkit (“qt”)

Some of the errors you reported were produced by gnuplot. Does the result below also work?

        graphics_toolkit gnuplot
        setenv GNUTERM qt
        close all
        plot (rand (3))

In any event, since the app-bundle you obtained from the wiki did not include “—universal” when installing fontconfig, it is likely this is the root of the problem.

Ben




reply via email to

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