How to plot the figure using Matlab ?
1 次查看(过去 30 天)
显示 更早的评论
I have plotted the figure using Wolfram Mathematica where no knowledge of
required.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369190/image.png)
But I want to know how to draw the below figure using
?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369193/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369196/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369199/image.jpeg)
回答(1 个)
Asad (Mehrzad) Khoddam
2020-10-1
You can combine four plot commands or use four curves (lines) to plot it
for example
plot([0,1],[1,0],'r', [1,2,4,8],[0,-1,-2,-3],'k')
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!