From: Adam on 12 Apr 2010 08:49 Hey guys, I have a N by M matrix, A, which I am plotting as an image using imagesc(A). The problem is that the axes have the tick marks labeled with the rows / cols of the matrix (from 1 to 512) but I need it to go from 0 to 4000. How can I do this? I can't seem to find the right keyword to search for, or maybe I am just missing something!
From: Rune Allnor on 12 Apr 2010 08:51 On 12 apr, 14:49, "Adam " <noem...(a)noemail.com> wrote: > Hey guys, > > I have a N by M matrix, A, which I am plotting as an image using imagesc(A). The problem is that the axes have the tick marks labeled with the rows / cols of the matrix (from 1 to 512) but I need it to go from 0 to 4000. > > How can I do this? I can't seem to find the right keyword to search for, or maybe I am just missing something! It's all there, in the documentation. Just add vectors containing the x and y ranges as arguments to the command - something like imagesc(xvec,yvec,myimage); You will need to pay some attention to detail to get everything exacatly right. Rune
|
Pages: 1 Prev: Define pointer between multiple axes Next: Mapping Troubles with Geotiff |