Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!news.aset.psu.edu!news.cse.psu.edu!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Image pixel placement
Date: Thu, 7 Feb 2008 04:08:23 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 20
Message-ID: <foe07n$kqk$1@canopus.cc.umanitoba.ca>
References: <fodqfd$bok$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1202357303 21332 192.70.172.160 (7 Feb 2008 04:08:23 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Thu, 7 Feb 2008 04:08:23 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:449788


In article <fodqfd$bok$1@fred.mathworks.com>,
Sven  <sven.holcombe@removethis.gmail.com> wrote:

>IMAGE(X,Y,C), where X and Y are vectors, specifies the
>locations of the pixel centers of C(1,1) and C(M,N).
[as rectilinear patches]

>Is it possible to *not* have rectilinear patches?  Ie, I
>want the placement of the pixel centers of C(i,j) to be
>given by Y(i), X(j), rather than being spaced *linearly*
>between the axis limits.  This is basically to display an
>image with a variable resolution over its Y-axis.

>Is this at all possible? Is there a simple method?

Not with image(). What you can do is use patch() for each
pixel, drawing the box yourself.
-- 
   "I was very young in those days, but I was also rather dim."
   -- Christopher Priest