I have written a code for image analysis that uses the number of pixels throughout to calculate lengths. Now I want to plot graphs and have my axis reading in millimetres rather than number of pixels. I have a calibration factor calculated, is there a simple way I can have axis in millimetres. I need this code to work for multiple pictures therefore using the xticks and xticklabels method would help.
MATLAB: Displaying an axis scale in mm rather than pixels
axis scales
Related Question
- Is there a way to get the values associated with the *minor* tick marks
- Shifting of 3D curve
- How to format the axis of the plot
- Graphics error 2018b: How to move y tick labels next to ticks instead of on top of ticks
- I have a 2D graph both x and y axis; however the x and y are in inches and i want to convert them into centimeter
Best Answer