How to plot the figure using Matlab ?
1 view (last 30 days)
Show older comments
I have plotted the figure using Wolfram Mathematica where no knowledge of
required.

But I want to know how to draw the below figure using
?



2 Comments
Answers (1)
Asad (Mehrzad) Khoddam
on 1 Oct 2020
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')
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!