Line plot for each coordinate in matplot lib











up vote
0
down vote

favorite












I am trying to plot the lines that connect starting (x,y) and ending (x,y)
That means a line will be connecting (x1start,y1start) to (x1end,y1end)
I have multiple rows in data frame.
The sample data frame that replicate the actual dataframe and shown below:



df = pd.DataFrame()
df ['Xstart'] = [1,2,3,4,5]
df ['Xend'] = [6,8,9,10,12]
df ['Ystart'] = [0,1,2,3,4]
df ['Yend'] = [6,8,9,10,12]


According to that, if we look at the first row of df, a line will be connecting (1,0) to (6,6)
For that I am using for loop to draw a line for each row as follow:



  fig,ax = plt.subplots()
fig.set_size_inches(7,5)

for i in range (len(df)):
ax.plot((df.iloc[i]['Xstart'],df.iloc[i]['Xend']),(df.iloc[i]['Ystart'],df.iloc[i]['Yend']))
ax.annotate("",xy = (df.iloc[i]['Xstart'],df.iloc[i]['Xend']),
xycoords = 'data',
xytext = (df.iloc[i]['Ystart'],df.iloc[i]['Yend']),
textcoords = 'data',
arrowprops = dict(arrowstyle = "->", connectionstyle = 'arc3', color = 'blue'))

plt.show()


I have the following error message when I run this.



I got the figure as shown below:



enter image description here



The arrow and line are in as expected. the arrow should be on the end point of each line.



Can anyone advise what is going on here?



Thanks,



Zep










share|improve this question




























    up vote
    0
    down vote

    favorite












    I am trying to plot the lines that connect starting (x,y) and ending (x,y)
    That means a line will be connecting (x1start,y1start) to (x1end,y1end)
    I have multiple rows in data frame.
    The sample data frame that replicate the actual dataframe and shown below:



    df = pd.DataFrame()
    df ['Xstart'] = [1,2,3,4,5]
    df ['Xend'] = [6,8,9,10,12]
    df ['Ystart'] = [0,1,2,3,4]
    df ['Yend'] = [6,8,9,10,12]


    According to that, if we look at the first row of df, a line will be connecting (1,0) to (6,6)
    For that I am using for loop to draw a line for each row as follow:



      fig,ax = plt.subplots()
    fig.set_size_inches(7,5)

    for i in range (len(df)):
    ax.plot((df.iloc[i]['Xstart'],df.iloc[i]['Xend']),(df.iloc[i]['Ystart'],df.iloc[i]['Yend']))
    ax.annotate("",xy = (df.iloc[i]['Xstart'],df.iloc[i]['Xend']),
    xycoords = 'data',
    xytext = (df.iloc[i]['Ystart'],df.iloc[i]['Yend']),
    textcoords = 'data',
    arrowprops = dict(arrowstyle = "->", connectionstyle = 'arc3', color = 'blue'))

    plt.show()


    I have the following error message when I run this.



    I got the figure as shown below:



    enter image description here



    The arrow and line are in as expected. the arrow should be on the end point of each line.



    Can anyone advise what is going on here?



    Thanks,



    Zep










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to plot the lines that connect starting (x,y) and ending (x,y)
      That means a line will be connecting (x1start,y1start) to (x1end,y1end)
      I have multiple rows in data frame.
      The sample data frame that replicate the actual dataframe and shown below:



      df = pd.DataFrame()
      df ['Xstart'] = [1,2,3,4,5]
      df ['Xend'] = [6,8,9,10,12]
      df ['Ystart'] = [0,1,2,3,4]
      df ['Yend'] = [6,8,9,10,12]


      According to that, if we look at the first row of df, a line will be connecting (1,0) to (6,6)
      For that I am using for loop to draw a line for each row as follow:



        fig,ax = plt.subplots()
      fig.set_size_inches(7,5)

      for i in range (len(df)):
      ax.plot((df.iloc[i]['Xstart'],df.iloc[i]['Xend']),(df.iloc[i]['Ystart'],df.iloc[i]['Yend']))
      ax.annotate("",xy = (df.iloc[i]['Xstart'],df.iloc[i]['Xend']),
      xycoords = 'data',
      xytext = (df.iloc[i]['Ystart'],df.iloc[i]['Yend']),
      textcoords = 'data',
      arrowprops = dict(arrowstyle = "->", connectionstyle = 'arc3', color = 'blue'))

      plt.show()


      I have the following error message when I run this.



      I got the figure as shown below:



      enter image description here



      The arrow and line are in as expected. the arrow should be on the end point of each line.



      Can anyone advise what is going on here?



      Thanks,



      Zep










      share|improve this question















      I am trying to plot the lines that connect starting (x,y) and ending (x,y)
      That means a line will be connecting (x1start,y1start) to (x1end,y1end)
      I have multiple rows in data frame.
      The sample data frame that replicate the actual dataframe and shown below:



      df = pd.DataFrame()
      df ['Xstart'] = [1,2,3,4,5]
      df ['Xend'] = [6,8,9,10,12]
      df ['Ystart'] = [0,1,2,3,4]
      df ['Yend'] = [6,8,9,10,12]


      According to that, if we look at the first row of df, a line will be connecting (1,0) to (6,6)
      For that I am using for loop to draw a line for each row as follow:



        fig,ax = plt.subplots()
      fig.set_size_inches(7,5)

      for i in range (len(df)):
      ax.plot((df.iloc[i]['Xstart'],df.iloc[i]['Xend']),(df.iloc[i]['Ystart'],df.iloc[i]['Yend']))
      ax.annotate("",xy = (df.iloc[i]['Xstart'],df.iloc[i]['Xend']),
      xycoords = 'data',
      xytext = (df.iloc[i]['Ystart'],df.iloc[i]['Yend']),
      textcoords = 'data',
      arrowprops = dict(arrowstyle = "->", connectionstyle = 'arc3', color = 'blue'))

      plt.show()


      I have the following error message when I run this.



      I got the figure as shown below:



      enter image description here



      The arrow and line are in as expected. the arrow should be on the end point of each line.



      Can anyone advise what is going on here?



      Thanks,



      Zep







      python pandas matplotlib annotate






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 18 at 15:25

























      asked Nov 18 at 14:54









      Zephyr

      4029




      4029
























          3 Answers
          3






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You're mixing up the positions of the arrows. Each coordinate pair in xy and xytext consists of an x and y value.



          Also in order to see the arrows in the plot you need to set the limits of the plot manually, because annotations are - for good reason - not taken into account when scaling the data limits.



          import pandas as pd
          import matplotlib.pyplot as plt

          df = pd.DataFrame()
          df ['Xstart'] = [1,2,3,4,5]
          df ['Xend'] = [6,8,9,10,12]
          df ['Ystart'] = [0,1,2,3,4]
          df ['Yend'] = [6,8,9,10,12]


          fig,ax = plt.subplots()
          fig.set_size_inches(7,5)

          for i in range (len(df)):
          ax.annotate("",xy = (df.iloc[i]['Xend'],df.iloc[i]['Yend']),
          xycoords = 'data',
          xytext = (df.iloc[i]['Xstart'],df.iloc[i]['Ystart']),
          textcoords = 'data',
          arrowprops = dict(arrowstyle = "->",
          connectionstyle = 'arc3', color = 'blue'))

          ax.set(xlim=(df[["Xstart","Xend"]].values.min(), df[["Xstart","Xend"]].values.max()),
          ylim=(df[["Ystart","Yend"]].values.min(), df[["Ystart","Yend"]].values.max()))
          plt.show()


          enter image description here






          share|improve this answer























          • Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
            – Zephyr
            Nov 18 at 15:18












          • Updated the answer
            – ImportanceOfBeingErnest
            Nov 18 at 15:31










          • Thanks. Appreciate much for your help
            – Zephyr
            Nov 18 at 15:38


















          up vote
          1
          down vote













          If you want to plot the line segments, the following code works. You may want arrows or some sort of annotate element (notice correct spelling), but your goal seems to be plotting the line segments, which this accomplishes:



          import pandas as pd
          import matplotlib.pyplot as plt

          df = pd.DataFrame()
          df ['Xstart'] = [1,2,3,4,5]
          df ['Xend'] = [6,8,9,10,12]
          df ['Ystart'] = [0,1,2,3,4]
          df ['Yend'] = [6,8,9,10,12]

          fig = plt.figure()
          ax = fig.add_subplot(111)
          for i in range (len(df)):
          ax.plot(
          (df.iloc[i]['Xstart'],df.iloc[i]['Xend']),
          (df.iloc[i]['Ystart'],df.iloc[i]['Yend'])
          )
          plt.show()





          share|improve this answer























          • I tried to add arrow and sth wrong. update in the question.
            – Zephyr
            Nov 18 at 15:23


















          up vote
          0
          down vote













          Not 100% certain but I think in line two you need to make the part after xy= a tuple because otherwise it sets the part in front of the , as keyword parameter and tries passing the part after the , as normal arg






          share|improve this answer





















          • Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
            – Zephyr
            Nov 18 at 15:19











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53362201%2fline-plot-for-each-coordinate-in-matplot-lib%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          3 Answers
          3






          active

          oldest

          votes








          3 Answers
          3






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted










          You're mixing up the positions of the arrows. Each coordinate pair in xy and xytext consists of an x and y value.



          Also in order to see the arrows in the plot you need to set the limits of the plot manually, because annotations are - for good reason - not taken into account when scaling the data limits.



          import pandas as pd
          import matplotlib.pyplot as plt

          df = pd.DataFrame()
          df ['Xstart'] = [1,2,3,4,5]
          df ['Xend'] = [6,8,9,10,12]
          df ['Ystart'] = [0,1,2,3,4]
          df ['Yend'] = [6,8,9,10,12]


          fig,ax = plt.subplots()
          fig.set_size_inches(7,5)

          for i in range (len(df)):
          ax.annotate("",xy = (df.iloc[i]['Xend'],df.iloc[i]['Yend']),
          xycoords = 'data',
          xytext = (df.iloc[i]['Xstart'],df.iloc[i]['Ystart']),
          textcoords = 'data',
          arrowprops = dict(arrowstyle = "->",
          connectionstyle = 'arc3', color = 'blue'))

          ax.set(xlim=(df[["Xstart","Xend"]].values.min(), df[["Xstart","Xend"]].values.max()),
          ylim=(df[["Ystart","Yend"]].values.min(), df[["Ystart","Yend"]].values.max()))
          plt.show()


          enter image description here






          share|improve this answer























          • Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
            – Zephyr
            Nov 18 at 15:18












          • Updated the answer
            – ImportanceOfBeingErnest
            Nov 18 at 15:31










          • Thanks. Appreciate much for your help
            – Zephyr
            Nov 18 at 15:38















          up vote
          1
          down vote



          accepted










          You're mixing up the positions of the arrows. Each coordinate pair in xy and xytext consists of an x and y value.



          Also in order to see the arrows in the plot you need to set the limits of the plot manually, because annotations are - for good reason - not taken into account when scaling the data limits.



          import pandas as pd
          import matplotlib.pyplot as plt

          df = pd.DataFrame()
          df ['Xstart'] = [1,2,3,4,5]
          df ['Xend'] = [6,8,9,10,12]
          df ['Ystart'] = [0,1,2,3,4]
          df ['Yend'] = [6,8,9,10,12]


          fig,ax = plt.subplots()
          fig.set_size_inches(7,5)

          for i in range (len(df)):
          ax.annotate("",xy = (df.iloc[i]['Xend'],df.iloc[i]['Yend']),
          xycoords = 'data',
          xytext = (df.iloc[i]['Xstart'],df.iloc[i]['Ystart']),
          textcoords = 'data',
          arrowprops = dict(arrowstyle = "->",
          connectionstyle = 'arc3', color = 'blue'))

          ax.set(xlim=(df[["Xstart","Xend"]].values.min(), df[["Xstart","Xend"]].values.max()),
          ylim=(df[["Ystart","Yend"]].values.min(), df[["Ystart","Yend"]].values.max()))
          plt.show()


          enter image description here






          share|improve this answer























          • Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
            – Zephyr
            Nov 18 at 15:18












          • Updated the answer
            – ImportanceOfBeingErnest
            Nov 18 at 15:31










          • Thanks. Appreciate much for your help
            – Zephyr
            Nov 18 at 15:38













          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          You're mixing up the positions of the arrows. Each coordinate pair in xy and xytext consists of an x and y value.



          Also in order to see the arrows in the plot you need to set the limits of the plot manually, because annotations are - for good reason - not taken into account when scaling the data limits.



          import pandas as pd
          import matplotlib.pyplot as plt

          df = pd.DataFrame()
          df ['Xstart'] = [1,2,3,4,5]
          df ['Xend'] = [6,8,9,10,12]
          df ['Ystart'] = [0,1,2,3,4]
          df ['Yend'] = [6,8,9,10,12]


          fig,ax = plt.subplots()
          fig.set_size_inches(7,5)

          for i in range (len(df)):
          ax.annotate("",xy = (df.iloc[i]['Xend'],df.iloc[i]['Yend']),
          xycoords = 'data',
          xytext = (df.iloc[i]['Xstart'],df.iloc[i]['Ystart']),
          textcoords = 'data',
          arrowprops = dict(arrowstyle = "->",
          connectionstyle = 'arc3', color = 'blue'))

          ax.set(xlim=(df[["Xstart","Xend"]].values.min(), df[["Xstart","Xend"]].values.max()),
          ylim=(df[["Ystart","Yend"]].values.min(), df[["Ystart","Yend"]].values.max()))
          plt.show()


          enter image description here






          share|improve this answer














          You're mixing up the positions of the arrows. Each coordinate pair in xy and xytext consists of an x and y value.



          Also in order to see the arrows in the plot you need to set the limits of the plot manually, because annotations are - for good reason - not taken into account when scaling the data limits.



          import pandas as pd
          import matplotlib.pyplot as plt

          df = pd.DataFrame()
          df ['Xstart'] = [1,2,3,4,5]
          df ['Xend'] = [6,8,9,10,12]
          df ['Ystart'] = [0,1,2,3,4]
          df ['Yend'] = [6,8,9,10,12]


          fig,ax = plt.subplots()
          fig.set_size_inches(7,5)

          for i in range (len(df)):
          ax.annotate("",xy = (df.iloc[i]['Xend'],df.iloc[i]['Yend']),
          xycoords = 'data',
          xytext = (df.iloc[i]['Xstart'],df.iloc[i]['Ystart']),
          textcoords = 'data',
          arrowprops = dict(arrowstyle = "->",
          connectionstyle = 'arc3', color = 'blue'))

          ax.set(xlim=(df[["Xstart","Xend"]].values.min(), df[["Xstart","Xend"]].values.max()),
          ylim=(df[["Ystart","Yend"]].values.min(), df[["Ystart","Yend"]].values.max()))
          plt.show()


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 18 at 15:30

























          answered Nov 18 at 15:00









          ImportanceOfBeingErnest

          119k10120192




          119k10120192












          • Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
            – Zephyr
            Nov 18 at 15:18












          • Updated the answer
            – ImportanceOfBeingErnest
            Nov 18 at 15:31










          • Thanks. Appreciate much for your help
            – Zephyr
            Nov 18 at 15:38


















          • Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
            – Zephyr
            Nov 18 at 15:18












          • Updated the answer
            – ImportanceOfBeingErnest
            Nov 18 at 15:31










          • Thanks. Appreciate much for your help
            – Zephyr
            Nov 18 at 15:38
















          Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
          – Zephyr
          Nov 18 at 15:18






          Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
          – Zephyr
          Nov 18 at 15:18














          Updated the answer
          – ImportanceOfBeingErnest
          Nov 18 at 15:31




          Updated the answer
          – ImportanceOfBeingErnest
          Nov 18 at 15:31












          Thanks. Appreciate much for your help
          – Zephyr
          Nov 18 at 15:38




          Thanks. Appreciate much for your help
          – Zephyr
          Nov 18 at 15:38












          up vote
          1
          down vote













          If you want to plot the line segments, the following code works. You may want arrows or some sort of annotate element (notice correct spelling), but your goal seems to be plotting the line segments, which this accomplishes:



          import pandas as pd
          import matplotlib.pyplot as plt

          df = pd.DataFrame()
          df ['Xstart'] = [1,2,3,4,5]
          df ['Xend'] = [6,8,9,10,12]
          df ['Ystart'] = [0,1,2,3,4]
          df ['Yend'] = [6,8,9,10,12]

          fig = plt.figure()
          ax = fig.add_subplot(111)
          for i in range (len(df)):
          ax.plot(
          (df.iloc[i]['Xstart'],df.iloc[i]['Xend']),
          (df.iloc[i]['Ystart'],df.iloc[i]['Yend'])
          )
          plt.show()





          share|improve this answer























          • I tried to add arrow and sth wrong. update in the question.
            – Zephyr
            Nov 18 at 15:23















          up vote
          1
          down vote













          If you want to plot the line segments, the following code works. You may want arrows or some sort of annotate element (notice correct spelling), but your goal seems to be plotting the line segments, which this accomplishes:



          import pandas as pd
          import matplotlib.pyplot as plt

          df = pd.DataFrame()
          df ['Xstart'] = [1,2,3,4,5]
          df ['Xend'] = [6,8,9,10,12]
          df ['Ystart'] = [0,1,2,3,4]
          df ['Yend'] = [6,8,9,10,12]

          fig = plt.figure()
          ax = fig.add_subplot(111)
          for i in range (len(df)):
          ax.plot(
          (df.iloc[i]['Xstart'],df.iloc[i]['Xend']),
          (df.iloc[i]['Ystart'],df.iloc[i]['Yend'])
          )
          plt.show()





          share|improve this answer























          • I tried to add arrow and sth wrong. update in the question.
            – Zephyr
            Nov 18 at 15:23













          up vote
          1
          down vote










          up vote
          1
          down vote









          If you want to plot the line segments, the following code works. You may want arrows or some sort of annotate element (notice correct spelling), but your goal seems to be plotting the line segments, which this accomplishes:



          import pandas as pd
          import matplotlib.pyplot as plt

          df = pd.DataFrame()
          df ['Xstart'] = [1,2,3,4,5]
          df ['Xend'] = [6,8,9,10,12]
          df ['Ystart'] = [0,1,2,3,4]
          df ['Yend'] = [6,8,9,10,12]

          fig = plt.figure()
          ax = fig.add_subplot(111)
          for i in range (len(df)):
          ax.plot(
          (df.iloc[i]['Xstart'],df.iloc[i]['Xend']),
          (df.iloc[i]['Ystart'],df.iloc[i]['Yend'])
          )
          plt.show()





          share|improve this answer














          If you want to plot the line segments, the following code works. You may want arrows or some sort of annotate element (notice correct spelling), but your goal seems to be plotting the line segments, which this accomplishes:



          import pandas as pd
          import matplotlib.pyplot as plt

          df = pd.DataFrame()
          df ['Xstart'] = [1,2,3,4,5]
          df ['Xend'] = [6,8,9,10,12]
          df ['Ystart'] = [0,1,2,3,4]
          df ['Yend'] = [6,8,9,10,12]

          fig = plt.figure()
          ax = fig.add_subplot(111)
          for i in range (len(df)):
          ax.plot(
          (df.iloc[i]['Xstart'],df.iloc[i]['Xend']),
          (df.iloc[i]['Ystart'],df.iloc[i]['Yend'])
          )
          plt.show()






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 18 at 15:34

























          answered Nov 18 at 15:19









          PJW

          591622




          591622












          • I tried to add arrow and sth wrong. update in the question.
            – Zephyr
            Nov 18 at 15:23


















          • I tried to add arrow and sth wrong. update in the question.
            – Zephyr
            Nov 18 at 15:23
















          I tried to add arrow and sth wrong. update in the question.
          – Zephyr
          Nov 18 at 15:23




          I tried to add arrow and sth wrong. update in the question.
          – Zephyr
          Nov 18 at 15:23










          up vote
          0
          down vote













          Not 100% certain but I think in line two you need to make the part after xy= a tuple because otherwise it sets the part in front of the , as keyword parameter and tries passing the part after the , as normal arg






          share|improve this answer





















          • Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
            – Zephyr
            Nov 18 at 15:19















          up vote
          0
          down vote













          Not 100% certain but I think in line two you need to make the part after xy= a tuple because otherwise it sets the part in front of the , as keyword parameter and tries passing the part after the , as normal arg






          share|improve this answer





















          • Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
            – Zephyr
            Nov 18 at 15:19













          up vote
          0
          down vote










          up vote
          0
          down vote









          Not 100% certain but I think in line two you need to make the part after xy= a tuple because otherwise it sets the part in front of the , as keyword parameter and tries passing the part after the , as normal arg






          share|improve this answer












          Not 100% certain but I think in line two you need to make the part after xy= a tuple because otherwise it sets the part in front of the , as keyword parameter and tries passing the part after the , as normal arg







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 18 at 15:00









          SV-97

          879




          879












          • Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
            – Zephyr
            Nov 18 at 15:19


















          • Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
            – Zephyr
            Nov 18 at 15:19
















          Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
          – Zephyr
          Nov 18 at 15:19




          Thanks for the reply. I solved the turple, But when I plot it i just got blank figure. I have updated in the question.
          – Zephyr
          Nov 18 at 15:19


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53362201%2fline-plot-for-each-coordinate-in-matplot-lib%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

          Alcedinidae

          Origin of the phrase “under your belt”?