How to display x and y axis to an image in app designer
Show older comments
Hi I attempted to add x and y axis to the image in app designer as I did in GUIDE, I decided to give up and ask for help here.
Here below are my codes:
[filname,pathname] = uigetfile('*.tif', 'Select File to work with');
app.FileNameEditField.Value=filname;
img_ori = imread([pathname, '\', filname]);
[row_img,col_img,clr_img]=size(img_ori);
imshow(img_ori,'Parent',app.UIAxes)
This is an image I loaded in GUIDE, as you see there are X and Y Ticks. I want to see the same axis in the app designer. Could anyone help me figure out how to add the axis? Thanks!

Accepted Answer
More Answers (0)
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!