Plotting 2 curves in a single graph
이전 댓글 표시
How can i plot the following graph in matlab. I have tried plot(x,y) but in vain. Y axis shows the frequencies for the x axis.
Thanks

답변 (1개)
Image Analyst
2016년 2월 4일
0 개 추천
Try these

====================================================================== Adapt this one to use the y axis instead of having the break in the x axis:

Several more similar ones can be found in the File Exchange if you search for "break y axis": http://www.mathworks.com/matlabcentral/fileexchange/45760-break-y-axis
댓글 수: 2
Student new
2016년 2월 4일
Image Analyst
2016년 2월 4일
Huh????????????
Where is your second set of y data?
You say "NO success" as if you actually tried some of the File Exchange submissions. But where are you using anything like that in your code?
And what do you want? I'm assuming you want a break in the Y axis between 500 and 2000. Is that right? Or do you want something else? If so, what????
카테고리
도움말 센터 및 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!