Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > f37f2c0b149d5391818dc5157943cda0 > files > 259

gnome-chemistry-utils-devel-0.10.8-3mdv2010.0.i586.rpm

<!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/xhtml;charset=UTF-8"/>
<title>The Gnome Chemistry Utils: gcu::SpectrumView Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacegcu.html">gcu</a>::<a class="el" href="classgcu_1_1SpectrumView.html">SpectrumView</a>
  </div>
</div>
<div class="contents">
<h1>gcu::SpectrumView Class Reference</h1><!-- doxytag: class="gcu::SpectrumView" -->
<p><code>#include &lt;<a class="el" href="spectrumview_8h_source.html">gcu/spectrumview.h</a>&gt;</code></p>

<p><a href="classgcu_1_1SpectrumView-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a238aed7f6aae2e253a0819e28bf0fde3">SpectrumView</a> (<a class="el" href="classgcu_1_1SpectrumDocument.html">SpectrumDocument</a> *pDoc)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#a238aed7f6aae2e253a0819e28bf0fde3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#ac186c9e3c6ac8824c29463b20c87ba40">~SpectrumView</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#ac186c9e3c6ac8824c29463b20c87ba40"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a6b5a01a5f308984a80e82bd819ddf5fd">SetAxisBounds</a> (GogAxisType target, double min, double max, bool inverted)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a26a297c5d82c94b777f442d9c7c7c6c7">SetAxisLabel</a> (GogAxisType target, char const *unit)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a37d86ed5b6ea8fea1a9faaa1f2b38957">ShowAxis</a> (GogAxisType target, bool show)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#aaa5326a05207c67751bc43992cf7f15b">InvertAxis</a> (GogAxisType target, bool inverted)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#adc77db38197767cbf64fc75627043f86">Render</a> (cairo_t *cr, double width, double height)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a710f1b89c2bcf2baae9e2dff6b0ee3d0">OnMinChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a1671b68339ec5ecec8584c1ac55ddd59">OnMaxChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a2fb74946efe26923ff7385380a7016f2">OnXRangeChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GogSeries *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a08b84e73e052a0a27303465fb1f1c0ff">NewSeries</a> (bool new_plot)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a11563069c8eed2f9a9d96956fa102124">SaveAsImage</a> (std::string const &amp;filename, char const *mime_type, unsigned width, unsigned height) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgcu_1_1SpectrumDocument.html">SpectrumDocument</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a0024a8b647ad917a75020063780b9ea8">GetDoc</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkWidget *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a85fad9e4870ea1191ef62398525d6852">GetWidget</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GtkWidget *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a509155c17976c61f40c4d8239603da02">GetOptionBox</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GogSeries *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1SpectrumView.html#a29884f6dd610190b71baf8f2cc208ffd">GetSeries</a> (void)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The view class used for spectra. This API is still quite unstable and might change in the future. </p>

<p>Definition at line <a class="el" href="spectrumview_8h_source.html#l00044">44</a> of file <a class="el" href="spectrumview_8h_source.html">spectrumview.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a238aed7f6aae2e253a0819e28bf0fde3"></a><!-- doxytag: member="gcu::SpectrumView::SpectrumView" ref="a238aed7f6aae2e253a0819e28bf0fde3" args="(SpectrumDocument *pDoc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gcu::SpectrumView::SpectrumView </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgcu_1_1SpectrumDocument.html">SpectrumDocument</a> *&nbsp;</td>
          <td class="paramname"> <em>pDoc</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pDoc,:</em>&nbsp;</td><td>a pointer to the <a class="el" href="classgcu_1_1SpectrumDocument.html">SpectrumDocument</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<p>Creates a view for the document. </p>

</div>
</div>
<a class="anchor" id="ac186c9e3c6ac8824c29463b20c87ba40"></a><!-- doxytag: member="gcu::SpectrumView::~SpectrumView" ref="ac186c9e3c6ac8824c29463b20c87ba40" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual gcu::SpectrumView::~SpectrumView </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>
<p>The destructor of <a class="el" href="classgcu_1_1SpectrumView.html">SpectrumView</a>. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0024a8b647ad917a75020063780b9ea8"></a><!-- doxytag: member="gcu::SpectrumView::GetDoc" ref="a0024a8b647ad917a75020063780b9ea8" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gcu::SpectrumView::GetDoc </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the associated document. </dd></dl>

<p>Definition at line <a class="el" href="spectrumview_8h_source.html#l00146">146</a> of file <a class="el" href="spectrumview_8h_source.html">spectrumview.h</a>.</p>

</div>
</div>
<a class="anchor" id="a509155c17976c61f40c4d8239603da02"></a><!-- doxytag: member="gcu::SpectrumView::GetOptionBox" ref="a509155c17976c61f40c4d8239603da02" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gcu::SpectrumView::GetOptionBox </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>a GtkBox to which an optional user interface might be added. </dd></dl>

<p>Definition at line <a class="el" href="spectrumview_8h_source.html#l00154">154</a> of file <a class="el" href="spectrumview_8h_source.html">spectrumview.h</a>.</p>

</div>
</div>
<a class="anchor" id="a29884f6dd610190b71baf8f2cc208ffd"></a><!-- doxytag: member="gcu::SpectrumView::GetSeries" ref="a29884f6dd610190b71baf8f2cc208ffd" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gcu::SpectrumView::GetSeries </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the first GogSeries* created for the view. </dd></dl>

<p>Definition at line <a class="el" href="spectrumview_8h_source.html#l00158">158</a> of file <a class="el" href="spectrumview_8h_source.html">spectrumview.h</a>.</p>

</div>
</div>
<a class="anchor" id="a85fad9e4870ea1191ef62398525d6852"></a><!-- doxytag: member="gcu::SpectrumView::GetWidget" ref="a85fad9e4870ea1191ef62398525d6852" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gcu::SpectrumView::GetWidget </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the widget used to display the spectrum. </dd></dl>

<p>Definition at line <a class="el" href="spectrumview_8h_source.html#l00150">150</a> of file <a class="el" href="spectrumview_8h_source.html">spectrumview.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaa5326a05207c67751bc43992cf7f15b"></a><!-- doxytag: member="gcu::SpectrumView::InvertAxis" ref="aaa5326a05207c67751bc43992cf7f15b" args="(GogAxisType target, bool inverted)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::SpectrumView::InvertAxis </td>
          <td>(</td>
          <td class="paramtype">GogAxisType&nbsp;</td>
          <td class="paramname"> <em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>inverted</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>target</em>&nbsp;</td><td>an axis type. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>inverted</em>&nbsp;</td><td>whether to invert the axis scale or not</td></tr>
  </table>
  </dd>
</dl>
<p>Used to invert the first axis of either GOG_AXIS_X or GOG_AXIS_Y types. </p>

</div>
</div>
<a class="anchor" id="a08b84e73e052a0a27303465fb1f1c0ff"></a><!-- doxytag: member="gcu::SpectrumView::NewSeries" ref="a08b84e73e052a0a27303465fb1f1c0ff" args="(bool new_plot)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GogSeries* gcu::SpectrumView::NewSeries </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>new_plot</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>new_plot</em>&nbsp;</td><td>if true, a new plot is created (this is not yet implemented). Creates a new GogSeries for the chart. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1671b68339ec5ecec8584c1ac55ddd59"></a><!-- doxytag: member="gcu::SpectrumView::OnMaxChanged" ref="a1671b68339ec5ecec8584c1ac55ddd59" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::SpectrumView::OnMaxChanged </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called by the framework if the maximum has changed for the x-axis. </p>

</div>
</div>
<a class="anchor" id="a710f1b89c2bcf2baae9e2dff6b0ee3d0"></a><!-- doxytag: member="gcu::SpectrumView::OnMinChanged" ref="a710f1b89c2bcf2baae9e2dff6b0ee3d0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::SpectrumView::OnMinChanged </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called by the framework if the minimum has changed for the x-axis. </p>

</div>
</div>
<a class="anchor" id="a2fb74946efe26923ff7385380a7016f2"></a><!-- doxytag: member="gcu::SpectrumView::OnXRangeChanged" ref="a2fb74946efe26923ff7385380a7016f2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::SpectrumView::OnXRangeChanged </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called by the framework if the range has changed for the x-axis. </p>

</div>
</div>
<a class="anchor" id="adc77db38197767cbf64fc75627043f86"></a><!-- doxytag: member="gcu::SpectrumView::Render" ref="adc77db38197767cbf64fc75627043f86" args="(cairo_t *cr, double width, double height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::SpectrumView::Render </td>
          <td>(</td>
          <td class="paramtype">cairo_t *&nbsp;</td>
          <td class="paramname"> <em>cr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cr</em>&nbsp;</td><td>the cairo_t* to which render. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>the width of the rendering area. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&nbsp;</td><td>the height of the rendering area.</td></tr>
  </table>
  </dd>
</dl>
<p>Renders the chart to <em>cr</em>. </p>

</div>
</div>
<a class="anchor" id="a11563069c8eed2f9a9d96956fa102124"></a><!-- doxytag: member="gcu::SpectrumView::SaveAsImage" ref="a11563069c8eed2f9a9d96956fa102124" args="(std::string const &amp;filename, char const *mime_type, unsigned width, unsigned height) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::SpectrumView::SaveAsImage </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&nbsp;</td>
          <td class="paramname"> <em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&nbsp;</td>
          <td class="paramname"> <em>mime_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>the name of the file. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mime_type</em>&nbsp;</td><td>the requested mime type. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>the width of the generated image. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&nbsp;</td><td>the height of the generated image.</td></tr>
  </table>
  </dd>
</dl>
<p>Export the view contents as an image. The size of the new image is defined by the width and height parameters. Supported ilage file format include svg, png, jpeg, ps, eps, and pdf, and possibly a few other bitmap formats. </p>

</div>
</div>
<a class="anchor" id="a6b5a01a5f308984a80e82bd819ddf5fd"></a><!-- doxytag: member="gcu::SpectrumView::SetAxisBounds" ref="a6b5a01a5f308984a80e82bd819ddf5fd" args="(GogAxisType target, double min, double max, bool inverted)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::SpectrumView::SetAxisBounds </td>
          <td>(</td>
          <td class="paramtype">GogAxisType&nbsp;</td>
          <td class="paramname"> <em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>max</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>inverted</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>target</em>&nbsp;</td><td>an axis type. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>min</em>&nbsp;</td><td>the mimimum value to show. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>max</em>&nbsp;</td><td>the maximum value to show. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>inverted</em>&nbsp;</td><td>whether to invert the axis.</td></tr>
  </table>
  </dd>
</dl>
<p>Sets the scale of the first axis of the selected type. </p>

</div>
</div>
<a class="anchor" id="a26a297c5d82c94b777f442d9c7c7c6c7"></a><!-- doxytag: member="gcu::SpectrumView::SetAxisLabel" ref="a26a297c5d82c94b777f442d9c7c7c6c7" args="(GogAxisType target, char const *unit)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::SpectrumView::SetAxisLabel </td>
          <td>(</td>
          <td class="paramtype">GogAxisType&nbsp;</td>
          <td class="paramname"> <em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&nbsp;</td>
          <td class="paramname"> <em>unit</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>target</em>&nbsp;</td><td>an axis type. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>unit</em>&nbsp;</td><td>a text (might be a unit).</td></tr>
  </table>
  </dd>
</dl>
<p>Sets the text for the label of the first axis of the selected type. </p>

</div>
</div>
<a class="anchor" id="a37d86ed5b6ea8fea1a9faaa1f2b38957"></a><!-- doxytag: member="gcu::SpectrumView::ShowAxis" ref="a37d86ed5b6ea8fea1a9faaa1f2b38957" args="(GogAxisType target, bool show)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu::SpectrumView::ShowAxis </td>
          <td>(</td>
          <td class="paramtype">GogAxisType&nbsp;</td>
          <td class="paramname"> <em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>show</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>target</em>&nbsp;</td><td>an axis type. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>show</em>&nbsp;</td><td>whether to show the axis or not</td></tr>
  </table>
  </dd>
</dl>
<p>Used to show or hide the first axis of either GOG_AXIS_X or GOG_AXIS_Y types. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="spectrumview_8h_source.html">spectrumview.h</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 6 18:33:56 2009 for The Gnome Chemistry Utils by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>