hi..i am getting an error while using the "axis" function....the value that i gave was [0 255 0 1] ....0 to 255 are grey scale values of image on the x axis and 0 to 1 the cdf on the y axis....

2 views (last 30 days)
x = linspace(0,1,255) plot(x,cdf_data) axis(0 , 255 , 0 , 1) set (gca, 'xtick', 0:1:255) set (gca, 'ytick', 0:0.2:1) xlabel('input intensity values') ylabel('output intensity values')

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!