<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to plot two lines in a graph? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-plot-two-lines-in-a-graph/m-p/131498#M10208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It says my parameter is unvalid:&lt;/P&gt;&lt;P&gt;ERROR 001020: Input series error. Parameter list is&amp;nbsp;incompatible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2016 02:57:37 GMT</pubDate>
    <dc:creator>ChenGuo</dc:creator>
    <dc:date>2016-12-13T02:57:37Z</dc:date>
    <item>
      <title>How to plot two lines in a graph?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-plot-two-lines-in-a-graph/m-p/131496#M10206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a an arctool with two inputs: a line feature and multiple layer. I want the tool to do the StackProfile and display the profile of this line feature on the multiple layers in a graph, so that I can compare the difference. Here are some codes:&lt;/P&gt;&lt;P&gt;graph = arcpy.Graph()&lt;/P&gt;&lt;P&gt;num = 0&lt;/P&gt;&lt;P&gt;for profileTarget in profileTargets:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;profileTable = "test" + str(num)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;target = profileTarget.name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;arcpy.ddd.StackProfile( profileLine, target, profileTable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;graph.addSeriesLineVertical( profileTable, "FIRST_Z", "FIRST_DIST")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;num += 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;graphName = "VerticalBarGraph"&lt;/P&gt;&lt;P&gt;arcpy.manegement.MakeGraph( inputTemplate, graph, graphName)&lt;/P&gt;&lt;P&gt;graphFile = "test.png"&lt;/P&gt;&lt;P&gt;arcpy.management.SaveGraph( &lt;SPAN&gt;graphName&lt;/SPAN&gt;, graphFile)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When there is only one surface layer, it works fine. But an error occured when there are more than one layer at MakeGraph function, it seems a arcpy.Graph can't have two vertical lines displayed. Anyone has ideas about this or some other solution can I use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 02:12:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-plot-two-lines-in-a-graph/m-p/131496#M10206</guid>
      <dc:creator>ChenGuo</dc:creator>
      <dc:date>2016-12-13T02:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot two lines in a graph?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-plot-two-lines-in-a-graph/m-p/131497#M10207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you remember the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 02:20:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-plot-two-lines-in-a-graph/m-p/131497#M10207</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-12-13T02:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot two lines in a graph?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-plot-two-lines-in-a-graph/m-p/131498#M10208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It says my parameter is unvalid:&lt;/P&gt;&lt;P&gt;ERROR 001020: Input series error. Parameter list is&amp;nbsp;incompatible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 02:57:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-plot-two-lines-in-a-graph/m-p/131498#M10208</guid>
      <dc:creator>ChenGuo</dc:creator>
      <dc:date>2016-12-13T02:57:37Z</dc:date>
    </item>
  </channel>
</rss>

