Prev: Matlab COM Interface
Next: OPENMI
From: Anders Bilfeldt on 7 Apr 2010 09:37 Hey. I'v got a 2d array of data that i plot using the code seen below. I need there to be two x axis and two y axis (top and button - left and right). The x axis's are multiple of eachother. I need "vectorX1" and "vectorY1" to be the 2nd axis's. See my code her: imagesc(Array) vectorX = X(1:column); vectorY = zeros(row,1); stepsize = 0.047625*10^(-6); %vectorX = (vectorX - mean(vectorX))*stepsize*10^3; %vectorY = (vectorY - mean(vectorY))*stepsize*10^3; map = colormap; the_min = min(min(Array)); the_max = max(max(Array)); img = round(64*(Array-the_min)./(the_max-the_min)); imagesc(vectorX, vectorY, img); axis equal; xlabel('mm'); ylabel('mm');
|
Pages: 1 Prev: Matlab COM Interface Next: OPENMI |