Re: Plotting question
- From: roberson@xxxxxxxxxxxxxxxxxx (Walter Roberson)
- Date: Thu, 31 Jan 2008 20:35:09 +0000 (UTC)
In article <fntb2e$avb$1@xxxxxxxxxxxxxxxxxx>,
Matthew Allen <allenmatthew@xxxxxxxxx> wrote:
even with the changes I am getting the same error.
Also my data set isn't that small i just showed the other
data set as an example. My rx and ry matrices are both 1x60
and my sx and sy and both 1x61
Ah, different sized vectors. Okay, then code
vl = length(rx) * length(sx);
[x1, x2] = ndgrid(rx,sx);
xs = [x1(:),x2(:),nan(vl,1)].';
[y1, y2] = ndgrid(ry,sy);
ys = [y1(:),y2(:),nan(vl,1)].';
plot(xs(:),ys(:))
--
'Roberson' is my family name; my given name is 'Walter'.
.
- Follow-Ups:
- Re: Plotting question
- From: Matthew Allen
- Re: Plotting question
- References:
- Plotting question
- From: Matthew Allen
- Re: Plotting question
- From: Matthew Allen
- Re: Plotting question
- From: Walter Roberson
- Re: Plotting question
- From: Matthew Allen
- Plotting question
- Prev by Date: Re: dynamic allocation in fortran90
- Next by Date: Find row
- Previous by thread: Re: Plotting question
- Next by thread: Re: Plotting question
- Index(es):
Relevant Pages
|