octave-maintainers
[Top][All Lists]
Advanced

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

Re: help with image() options


From: Ben Abbott
Subject: Re: help with image() options
Date: Wed, 25 Jan 2012 14:11:43 -0500

On Jan 25, 2012, at 2:00 PM, Rik wrote:

> 1/25/11
> 
> All,
> 
> I'm rewriting the m-files in the image/ directory and I have a question
> about how image is handling the X and Y arguments to the function.  Could
> someone run the following in Matlab?
> 
> img = rand (3,3,3);
> image ([1,1.1,100], 1:3, img)
> 
> Does it throw an error because X and Y are not 2-element vectors?  Does it
> throw a warning because X is not linearly spaced?
> 
> Cheers,
> Rik

Rik,

I've attached a png of what is displayed and a pdf produced by "print -depsc 
img.eps" and then converting to pdf.

If I recall correctly, ML only cares about x([1,end]) and y([1,end]).

Ben

PNG image


Attachment: img.pdf
Description: Adobe PDF document


reply via email to

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