Prev: Polynomial Fit
Next: integer log spacing
From: Christian Koch on 19 Mar 2010 14:26 Hi, I have a Problem. Im new to Matlab and have to solve a Problem: I have a matrix with Data 354x350. The axes are nonlinear x_axis 354x1 and nonlineary y-axis 350x1. I can plot the data but the Image is warped because it shows only evenly spaced axis. Some Ideas anyone? I would really appreciate it. Best regards.
From: Sadik on 19 Mar 2010 19:40 Hi Christian, You can use imagesc(x,y,Data) after defining your non-linear vectors x and y. Best.
From: Christian Koch on 20 Mar 2010 07:31 "Sadik " <sadik.hava(a)gmail.com> wrote in message <ho120o$smj$1(a)fred.mathworks.com>... > Hi Christian, > > You can use > > imagesc(x,y,Data) > > after defining your non-linear vectors x and y. > > Best. Thank you for the answer but the image is still warped, plotting with mesh() works but I somehow need to transfer the data to a regular grid.
|
Pages: 1 Prev: Polynomial Fit Next: integer log spacing |