Suppose I have x = [1,2,3,4,5,6] and the corresponding y = [3,4,5,6,7,8] .
x = [1,2,3,4,5,6]
y = [3,4,5,6,7,8]
I want the first pair (1,3) in a different color or shape.
(1,3)
How to do it with python?
One of the easiest possible answers.
import matplotlib.pyplot as plt x = [1,2,3,4,5,6] y = [3,4,5,6,7,8] plt.plot(x[1:], y[1:], 'ro') plt.plot(x[0], y[0], 'g*') plt.show()
Source: https://habr.com/ru/post/1262374/More articles:https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1262369/how-to-join-array-of-optional-integers-to-string&usg=ALkJrhgrngMdIRL5PlBtpwfMyxiWZ5vZ0QIs there a way for UnDim Variable? - vbscriptWhy is res.send called twice? - node.jsScreen Density in iOS and Universal WIndows - uwpHow wide is the main page of the Master-Detail page in Xamarin.Forms? - layoutOpen preview layout with open keyboard - androidIs there such a thing as βMulti-Path Pushβ in Datasbase in real time Firebase? - angularAutomatically assign workflow in SharePoint? - sharepointHow to set server output in DataGrip - sqlIs a scroll event guaranteed when scrolling programmatically? - javascriptAll Articles