MATLAB: Adding X-Y axis into image file image processingImage Processing Toolbox Hi, can anyone help me to add horizontal and vertical axis on the below image (dimension is 380*584 pix = 50* 77 mm) Best Answer After you call imshow() call axis():grayImage = imread('image.jpeg');imshow(grayImage, [], 'XData', [0, 50], 'YData', [0, 77]);axis('on', 'image'); Related SolutionsMATLAB: How to put a ruler in an image What command did you use to show the image?Try imshow(), and set the xdata or ydata properties to meet what you want. MATLAB: Imshow – Stretching image to fill axis You can display with imshow() and use the 'XData' and 'YData' property. For example:imshow(grayImage, [], 'XData', [0 .5], 'YData', [0 .1]); Related QuestionHow to Detect Edges of an Image using Canny Edge Detection technique. I have already detected edges of Images, but I’m not sure if it is correct or not. Also, I want to add legend command and axis information in this, how would I do this thingProblem displaying a satellite image
Best Answer