<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Tutorials — Chaco v3.4.0 documentation</title> <link rel="stylesheet" href="../_static/default.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '3.4.0', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <link rel="shortcut icon" href="../_static/et.ico"/> <link rel="top" title="Chaco v3.4.0 documentation" href="../index.html" /> <link rel="next" title="Interactive Plotting with Chaco" href="tutorial_1.html" /> <link rel="prev" title="Quickstart" href="../quickstart.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="tutorial_1.html" title="Interactive Plotting with Chaco" accesskey="N">next</a></li> <li class="right" > <a href="../quickstart.html" title="Quickstart" accesskey="P">previous</a> |</li> <li><a href="../index.html">Chaco v3.4.0 documentation</a> »</li> <li><a href="#">Tutorials</a></li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="tutorials"> <span id="id1"></span><h1>Tutorials<a class="headerlink" href="#tutorials" title="Permalink to this headline">ΒΆ</a></h1> <div class="admonition note"> <p class="first admonition-title">Note</p> <p>(8/28/08) This section is currently being updated to unify the information from several past presentations and tutorials. Until it is complete, here are links to some of those. The HTML versions are built using <a class="reference external" href="http://meyerweb.com/eric/tools/s5/">S5</a>, which uses Javascript heavily. You can navigate the slide deck by using left and right arrows, as well as a drop-down box in the lower right-hand corner.</p> <blockquote class="last"> <div><ul class="simple"> <li><a class="reference external" href="http://code.enthought.com/projects/files/chaco_scipy06/chaco_talk.html">SciPy 2006 Tutorial</a> (Also available in <a class="reference external" href="http://code.enthought.com/projects/files/Data_Exploration_with_Chaco.pdf">pdf</a>)</li> <li><a class="reference external" href="http://code.enthought.com/projects/files/chaco_pycon07/index.html">Pycon 2007 presentation slides</a></li> <li><a class="reference external" href="https://svn.enthought.com/svn/enthought/Chaco/trunk/docs/scipy08_tutorial.pdf">SciPy 2008 Tutorial slides (pdf)</a>: These slides are currently being converted into the <a class="reference internal" href="tutorial_1.html#tutorial-1"><em>Interactive Plotting with Chaco</em></a> tutorial.</li> </ul> </div></blockquote> </div> <div class="toctree-wrapper compound"> <ul> <li class="toctree-l1"><a class="reference internal" href="tutorial_1.html">Interactive Plotting with Chaco</a></li> <li class="toctree-l1"><a class="reference internal" href="tutorial_2.html">Modeling Van der Waal’s Equation With Chaco and Traits</a></li> <li class="toctree-l1"><a class="reference internal" href="tutorial_hyetograph.html">Creating an interactive Hyetograph with Chaco and Traits</a></li> <li class="toctree-l1"><a class="reference internal" href="tutorial_wx.html">WX-based Tutorial</a></li> <li class="toctree-l1"><a class="reference internal" href="tutorial_ipython.html">Exploring Chaco with IPython</a></li> </ul> </div> <p>There are several tutorials for Chaco, each covering slightly different aspects:</p> <blockquote> <div><ol class="arabic"> <li><p class="first">Tutorial 1, <a class="reference internal" href="tutorial_1.html#tutorial-1"><em>Interactive Plotting with Chaco</em></a>, introduces some basic concepts of how to use Chaco and Traits UI to do basic plots, customize layout, and add interactivity.</p> <p>Although Traits UI is not required to use Chaco, it is the by far the most common usage of Chaco. It is a good approach for those who are relatively new to developing GUI applications. Using Chaco with Traits UI allows the scientist or novice programmer to easily develop plotting applications, but it also provides them room to grow as their requirements change and increase in complexity.</p> <p>Traits UI can also be used by a more experienced developer to build more involved applications, and Chaco can be used to embed visualizations or to leverage interactive graphs as controllers for an application.</p> </li> <li><p class="first">Tutorial 2, <a class="reference internal" href="tutorial_2.html#tutorial-2"><em>Modeling Van der Waal’s Equation With Chaco and Traits</em></a>, is another example of creating a data model and then using Traits and Chaco to rapidly create interactive plot GUIs.</p> </li> <li><p class="first"><a class="reference internal" href="tutorial_hyetograph.html#tutorial-hyetograph"><em>Creating an interactive Hyetograph with Chaco and Traits</em></a> introduces the <tt class="docutils literal"><span class="pre">on_trait_listener</span></tt> decorator and uses Chaco, simple Traits views, and live GUI interaction.</p> </li> <li><p class="first"><a class="reference internal" href="tutorial_wx.html#tutorial-wx"><em>WX-based Tutorial</em></a>: Creating a stand-alone wxPython application, or embedding a Chaco plot within an existing Wx application.</p> <p>This tutorial is suited for those who are familiar with programming using wxPython or Qt and prefer to write directly to those toolkits. It shows how to embed Chaco components directly into an enclosing widget, panel, or dialog. It also demonstrates more advanced usages like using a wxPython Timer to display live, updating data streams.</p> </li> <li><p class="first">Using the Chaco Shell command-line plotting interface to build plots, in a Matlab or gnuplot-like style. Although this approach doesn’t lend itself to building more reusable utilities or applications, it can be a quick way to get plots on the screen and build one-off visualizations. See <a class="reference internal" href="tutorial_ipython.html#tutorial-ipython"><em>Exploring Chaco with IPython</em></a>.</p> </li> </ol> </div></blockquote> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <p class="logo"><a href="../index.html"> <img class="logo" src="../_static/e-logo-rev.png" alt="Logo"/> </a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/user_manual/tutorial.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" size="18" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="tutorial_1.html" title="Interactive Plotting with Chaco" >next</a></li> <li class="right" > <a href="../quickstart.html" title="Quickstart" >previous</a> |</li> <li><a href="../index.html">Chaco v3.4.0 documentation</a> »</li> <li><a href="#">Tutorials</a></li> </ul> </div> <div class="footer"> © Copyright 2008, Enthought, Inc.. Last updated on Mar 02, 2011. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. </div> </body> </html>