How to set the x and y to log scale while plotting a function with fplot
이전 댓글 표시
I am trying to plot a function with fplot and i want to make the scales of x and y axis in log and since i have a function i dont know how and if i can use loglog for this.
답변 (1개)
fplot(@exp,[1e-4 10])
set(gca(),'XScale','log','YScale','log')
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
