.. _plot-example:

####################################
Plot2d: Create a Simple Overlay Plot
####################################

Use the Plot2d Component to create a basic plot to show as an overlay item in the view.

.. image:: ../images/tut_plot.png
    :height: 300 
    :align: center


.. literalinclude:: ../../../../EnvisionDesktop/Tutorials/Plot.cpp
    :language: cpp
    :lines: 32-54