help-octave
[Top][All Lists]
Advanced

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

Re: Opening saved isosurface() figures with hgload()


From: Kai Torben Ohlhus
Subject: Re: Opening saved isosurface() figures with hgload()
Date: Tue, 22 Oct 2019 02:31:10 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 10/18/19 9:24 PM, Cola wrote:
> Hi all,
> 
> I'm using Octave to generate an isosurface() plot based on a large data
> file. 
> I need to be able to pull up the resulting interactive figure whenever I
> need; a still image won't do. 
> However, reading the data file takes upwards of a minute, so instead of
> doing that each time I want to see the figure, I thought I might save the
> figure with hgsave() and then open it whenever with hgload().
> Saving the figure seems to work fine, but when I try to open it I get the
> following error:
> 
> *error: struct2hdl: light objects are not implemented yet*
> 
> Does this mean it can't be done? Does anyone know of any alternatives?
> 


Probably you do not follow the bug tracker.  Thus I summarize the nice
things that happened there.  Unless you use the latest development build
of Octave, the light objects are not implemented.  Guillaume Flandin was
very kind to fix your problem in bug #57093 [1].  Unfortunately, this
change will be released with Octave 6.0, probably next year.

Depending on your version, you can now take advantage of Guillaume
Flandins work, if you download and replace the file

  scripts/plot/util/struct2hdl.m

inside your Octave installation directory with that one of the
development repository [2].  The file to replace can be detected by
typing "which struct2hdl" for example.

HTH,
Kai

[1] https://savannah.gnu.org/bugs/?57093
[2]
http://hg.savannah.gnu.org/hgweb/octave/raw-file/303df1e804d4/scripts/plot/util/struct2hdl.m



reply via email to

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