Hi Lina,<br><br><div class="gmail_quote">On 14 November 2011 12:39, lina <span dir="ltr"><<a href="mailto:lina.lastname@gmail.com">lina.lastname@gmail.com</a>></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 "plot a figure" 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 "plot a figure" you actually mean "visualize a graph" in that sense, then the answer would be no I don't think it's a good choice, and instead I'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'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'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>