Re: Plotting question



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'.
.



Relevant Pages

  • RE: locating given dates from each year in data set
    ... okay, how about if I make this easier and just ask how to write a code that ... will return the year of a cell that is formatted with date and military time? ... > FY in the data set. ... > TIA ...
    (microsoft.public.excel.programming)
  • Re: selected frequencies FFT?
    ... Okay. ... So it would probably be better to just run the FFT for the whole data set and throw out the stuff I don't want? ... I guess I can look at some time charts for this stuff. ...
    (comp.soft-sys.matlab)