Hi Lina,<br><br><div class="gmail_quote">On 14 November 2011 12:39, lina <span dir="ltr">&lt;<a href="mailto:lina.lastname@gmail.com">lina.lastname@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I have not experienced in &quot;plot a figure&quot; with python.<br>

Try python-pygraphviz is a good choice?<br></blockquote></div><br>Graphviz is a library to help visualize graphs in the computer science sense.  (See  <a href="http://en.wikipedia.org/wiki/Graph_%28data_structure%29">http://en.wikipedia.org/wiki/Graph_%28data_structure%29</a> or the shoreted version: <a href="http://is.gd/AKiiMA">http://is.gd/AKiiMA</a>)  So unless by &quot;plot a figure&quot; you actually mean &quot;visualize a graph&quot; in that sense, then the answer would be no I don&#39;t think it&#39;s a good choice, and instead I&#39;d suggest you want something a bit more general.  Google returned this page on stackoverflow which offers several suggestions:<br>
<a href="http://stackoverflow.com/questions/326300/python-best-library-for-drawing">http://stackoverflow.com/questions/326300/python-best-library-for-drawing</a> <br>or the shortened version:<br><a href="http://is.gd/vrDTjf">http://is.gd/vrDTjf</a><br>
<br>From the above, I&#39;d probably suggest along with one of answers above, that you stick with the TK Canvas for now as this is included with Python.  Thus you won&#39;t have to get into installing 3rd party packages/libraries/modules to get going. <br>
<br>If however you really are trying to visualize a  graph of some sort then the question likely needs to be revisited, and then pygrahpviz would probably be a good choice.  <br><br>Walter<br>