text: //-*-C++-*-
  /***************************************************************************
   *
   *   Copyright (C) 2006 by Willem van Straten
   *   Licensed under the Academic Free License version 2.1
   *
   ***************************************************************************/
  
  // psrchive/More/Plotting/Pulsar/FramedPlot.h
  
  #ifndef __Pulsar_FramedPlot_h
  #define __Pulsar_FramedPlot_h
  
  #include "Pulsar/Plot.h"
  #include "Pulsar/PlotFrame.h"
  
  namespace Pulsar {
  
    //! A Plot with a PlotFrame
    class FramedPlot : public Plot {
  
    public:
  
      //! Default constructor
      FramedPlot ();
  
      //! Get the text interface to the frame attributes
      virtual TextInterface::Parser* get_frame_interface ();
  
      //! Get the plot attributes
      PlotAttributes* get_attributes ();
  
      //! Get the frame
      virtual PlotFrame* get_frame ();
  
      //! Get the frame
      virtual const PlotFrame* get_frame () const;
  
      //! Set the frame
      virtual void set_frame (PlotFrame*);
  
    protected:
  
      //! The plot frame
      Reference::To<PlotFrame> frame;
  
    };
  
  }
  
  #endif
  