Thanks Sebastian for help. When I did what you told me, I got this. please look at the new photo. The issue is that I don't want a connecting line between the discontinuous points. how to remove the line that marked by arrow.
On Friday, 17 March 2017 08:05:13 UTC-4, Sebastian Höfer wrote: > > Hi, > > the easiest way would be to unwrap your phase before plotting it. There is > already a function for that in numpy: > https://docs.scipy.org/doc/numpy/reference/generated/numpy.unwrap.html > Per default it expects the data to be in radians, but it should be > configurable to degrees or just convert it to radians before unwrapping. > > Regards > S > > Am Freitag, 17. März 2017 00:52:34 UTC+1 schrieb Rajab Legnain: >> >> Hello Every One >> >> I have a question, hoping someone has the answer. >> >> >> >> <https://lh3.googleusercontent.com/-nyNLCtC-QbY/WMskW2UnsRI/AAAAAAAACX8/Y5bG730UpIw4Y-04Xd0IVrM7IyOeK_bGgCLcB/s1600/plot.png> >> >> I am trying to create a graph for phase curves. This graph will wrap the >> value if it is larger than 180 degree or smaller than -180. >> >> I have attached a photos shows what exactly I want to do. >> >> >> Thanks for help in advance. >> >> >> >> I >> >> <https://lh3.googleusercontent.com/-nyNLCtC-QbY/WMskW2UnsRI/AAAAAAAACX8/Y5bG730UpIw4Y-04Xd0IVrM7IyOeK_bGgCLcB/s1600/plot.png> >> >> >> <https://lh3.googleusercontent.com/-nyNLCtC-QbY/WMskW2UnsRI/AAAAAAAACX8/Y5bG730UpIw4Y-04Xd0IVrM7IyOeK_bGgCLcB/s1600/plot.png> >> >> >> -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/6a82337c-28e5-4ad5-b852-da426d62df1f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
