How code lines that move apart?
2 ビュー (過去 30 日間)
Vidya Viswanathan 2016 年 6 月 16 日
Is this what you are looking for?
This code snippet gives the following figure:
In this case, I have considered only two points in the y-axis. If you need multiple points between your required limit (say -10 and 10), you can modify the code in the following manner:
You'll basically get the same figure but will multiple data points in each straight line. I hope this helps.