octave-maintainers
[Top][All Lists]
Advanced

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

Re: hgsave("foo") ; hgload("foo") not working


From: Mike Miller
Subject: Re: hgsave("foo") ; hgload("foo") not working
Date: Thu, 27 Mar 2014 08:52:56 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Mar 27, 2014 at 04:43:50 -0700, Muhali wrote:
> I find it confusing to save a figure with
> 
> hgsave("foo")
> 
> and seeing that it creates the file "foo.ofig" instead of "foo", so that
> 
> hgload("foo")
> 
> does not work.

The latter should work, it works for me.

This is analogous to Matlab appending .fig in both hgload and hgsave if
no file extension is given.

  http://www.mathworks.com/help/matlab/ref/hgsave.html

Presumably .ofig is to make it clear that these are Octave format files.

HTH,

-- 
mike



reply via email to

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