help-octave
[Top][All Lists]
Advanced

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

Re: image_viewer usage


From: lukshuntim
Subject: Re: image_viewer usage
Date: Sat, 02 May 2009 11:25:04 +0800
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Valmor de Almeida wrote:
> Hello,
> 
> I would like to use display as my image viewer to display a scaled 
> version of a large image:
> 
> display -resize 10%   imagefile.png
> 
> This command does not work:
> 
>   image_viewer("display -resize 10%  %s");
> 
> and I am not sure about the image_viewer() syntax. Could someone help?

Hi Valmor,

Try
image_viewer("display -resize 10%%  %s");

The first % has to be escaped. See
http://www.gnu.org/software/octave/doc/interpreter/Formatted-Output.html#Formatted-Output

Regards,
ST
--



reply via email to

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