From: Christian Koch on
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
Hi Christian,

You can use

imagesc(x,y,Data)

after defining your non-linear vectors x and y.

Best.
From: Christian Koch on
"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