How to add more lables to x axis?
1 view (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169550/image.jpeg)
In this plot, the X axis does not clearly indicates the values. The different between each point is 500. How to reduce it to 200, like the plot below?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169552/image.png)
Code to generate CDF:
[f,x] = ecdf(sample1);
plot(x,f,'r'); hold on;
[f2,x2] = ecdf(sample2);
plot(x2,f2,'g'); %CDF
0 Comments
Answers (1)
See Also
Categories
Find more on 2-D and 3-D Plots 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!