octave-maintainers
[Top][All Lists]
Advanced

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

Re: Couple of questions to help Octave for Android


From: Mike Miller
Subject: Re: Couple of questions to help Octave for Android
Date: Wed, 20 Nov 2013 20:43:36 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

On Wed, 20 Nov 2013 13:49:35 -0800, Corbin Champion wrote:
> New release is coming soon.  Down to a very small number of issues.
> 
> 1) How does octave pick up that a new package is present after someone
> installs a octave-forge package via apt-get?  I looked at the .deb file
> for octave-mapping as a simple example and didn't see a postinst
> script.  But if I just simply put all the files in the normal locations,
> they don't get auto read into the path and the octave_packages file is
> not updated on the next launch.  So, how does octave recognize that
> someone has installed the octave-mapping .deb file? 

There is a postinstall, but it is implemented with a dpkg trigger that
is owned by the octave package itself. Look at octave.postinst in the
octave package. Basically the only thing that is required is to run "pkg
rebuild" in octave, this scans all installed packages and builds the
package metadata cache.

> 2) What is the lowest level function that gets called whenever any form
> of a plot is generated with gnuplot?  Looking to do something after
> drawing is finished for any figure.  Also, is there a way to have no
> plot displayed to the screen?

Part A, not sure. Part B, you probably want the figure "visible" property:

  h = figure (1, "visible", "off");

HTH,

-- 
mike


reply via email to

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