[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Couple comments about image_viewer and path behavior
From: |
Michael Goffioul |
Subject: |
Re: Couple comments about image_viewer and path behavior |
Date: |
Thu, 23 Aug 2007 16:31:09 +0200 |
On 8/23/07, Daniel J Sebald <address@hidden> wrote:
> Oh, OK. Thanks Michael. However, that information doesn't seem documented
> very well. (It's also not very generic, i.e., why not an AUDIO_PATH, etc.?)
> None of the image-related scripts reference it. Even "loadimage" doesn't
> seem to reference it. There does appear to be a few references in
>
> doc/interpreter/basics.txi:@code{IMAGE_PATH} found in the environment.
> doc/interpreter/image.txi:@DOCSTRING(IMAGE_PATH)
> doc/interpreter/octave-config.1: IMAGE_PATH MAN1EXT
> scripts/image/loadimage.m: file = file_in_path (IMAGE_PATH, filename);
> scripts/miscellaneous/dump_prefs.m: "IMAGE_PATH";
>
> but I generally don't look at the txi documentation or use dump_prefs().
Well, I didn't know about IMAGE_PATH neither, until I noticed that
loadimage was able to load images without specifying the location directory.
Then I looked at the m-file and found IMAGE_PATH. Good documentation
is probably better... :-)
Michael.