\doxysection{Plot\+Types Class Reference}
\hypertarget{class_plot_types}{}\label{class_plot_types}\index{PlotTypes@{PlotTypes}}


Here all the plot types e.\+g 2D, 3D, custom etc. are included.  




{\ttfamily \#include $<$plottypes.\+hpp$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_plot_types_afeb7fe42e1204c264bbb3f4cbdff89d5}{set\+Wx\+Plot\+Figure\+Type}} (const WXPLOT\+\_\+\+FIGURE wx\+Plot\+Figure, const WXPLOT\+\_\+\+TYPE wx\+Plot\+Type)
\begin{DoxyCompactList}\small\item\em Set the plot type selection and plot figure selection. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_a31953407521586fde6c3a54f7c10e753}{set\+Radius}} (const wx\+Coord radius)
\begin{DoxyCompactList}\small\item\em Set radius. Most used for circles e.\+g filling scatter plots. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_a721c29b5788e92fb3fea693cd366ada2}{fill\+Circles}} (const bool fill\+Circle)
\begin{DoxyCompactList}\small\item\em Fill circles if radius is applied if circiles are going to be filled with the same colour as they are drawn. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_a8ecf0a3ef3da431fc107f98bec55b278}{set\+Data}} (const std\+::vector$<$ std\+::vector$<$ double $>$ $>$ \&data2D)
\begin{DoxyCompactList}\small\item\em Set 2D data. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_a0af183824b60c73e0067db8e30178ccc}{set\+Data}} (const std\+::vector$<$ double $>$ \&data1D)
\begin{DoxyCompactList}\small\item\em Set 1D data. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_add906526a50180b0ebebb02f76c0869c}{set\+Plot\+Start\+Width}} (const wx\+Coord plot\+Start\+Width)
\begin{DoxyCompactList}\small\item\em Set the left upper corner in X-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_a6e88881cdced4cc6739ae2cd83f7e731}{set\+Plot\+Start\+Height}} (const wx\+Coord plot\+Start\+Height)
\begin{DoxyCompactList}\small\item\em Set the left upper corner in Y-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_a0c99728b7c32b3b0e66052f7c11b83e7}{set\+Plot\+End\+Width}} (const wx\+Coord plot\+End\+Width)
\begin{DoxyCompactList}\small\item\em Set the right upper corner in X-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_a16a9026940c69673846de55ae9a058f5}{set\+Plot\+End\+Height}} (const wx\+Coord plot\+End\+Height)
\begin{DoxyCompactList}\small\item\em Set the right bottom corner in Y-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_a79d1d4774b3196b7fd669f067927a93b}{set\+Bin\+Count}} (const unsigned int bin\+Count)
\begin{DoxyCompactList}\small\item\em Set the bin count for e.\+g. histogram. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_ad2fedb68d485b7d643338461c113e714}{set\+Ylim}} (const double minY, const double maxY)
\begin{DoxyCompactList}\small\item\em Set the plot zoom limit in Y-\/axis. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_plot_types_a6e21d21e927e97435b0ecc9990008120}{draw\+Type}} (wx\+DC \&dc)
\begin{DoxyCompactList}\small\item\em This function draw the plot e.\+g line, bar, histogram, spline, scatter etc. inside in this rectangle. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Here all the plot types e.\+g 2D, 3D, custom etc. are included. 

\doxysubsection{Member Function Documentation}
\Hypertarget{class_plot_types_a6e21d21e927e97435b0ecc9990008120}\index{PlotTypes@{PlotTypes}!drawType@{drawType}}
\index{drawType@{drawType}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{drawType()}{drawType()}}
{\footnotesize\ttfamily \label{class_plot_types_a6e21d21e927e97435b0ecc9990008120} 
void Plot\+Types\+::draw\+Type (\begin{DoxyParamCaption}\item[{wx\+DC \&}]{dc}{}\end{DoxyParamCaption})}



This function draw the plot e.\+g line, bar, histogram, spline, scatter etc. inside in this rectangle. 


\begin{DoxyParams}{Parameters}
{\em dc} & The wx\+DC object for drawing lines, polygons etc. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_a721c29b5788e92fb3fea693cd366ada2}\index{PlotTypes@{PlotTypes}!fillCircles@{fillCircles}}
\index{fillCircles@{fillCircles}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{fillCircles()}{fillCircles()}}
{\footnotesize\ttfamily \label{class_plot_types_a721c29b5788e92fb3fea693cd366ada2} 
void Plot\+Types\+::fill\+Circles (\begin{DoxyParamCaption}\item[{const bool}]{fill\+Circle}{}\end{DoxyParamCaption})}



Fill circles if radius is applied if circiles are going to be filled with the same colour as they are drawn. 


\begin{DoxyParams}{Parameters}
{\em fill\+Circle} & Set true if filled. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_a79d1d4774b3196b7fd669f067927a93b}\index{PlotTypes@{PlotTypes}!setBinCount@{setBinCount}}
\index{setBinCount@{setBinCount}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{setBinCount()}{setBinCount()}}
{\footnotesize\ttfamily \label{class_plot_types_a79d1d4774b3196b7fd669f067927a93b} 
void Plot\+Types\+::set\+Bin\+Count (\begin{DoxyParamCaption}\item[{const unsigned int}]{bin\+Count}{}\end{DoxyParamCaption})}



Set the bin count for e.\+g. histogram. 


\begin{DoxyParams}{Parameters}
{\em bin\+Count} & Bin count is total columns inside a e.\+g historam chart. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_a0af183824b60c73e0067db8e30178ccc}\index{PlotTypes@{PlotTypes}!setData@{setData}}
\index{setData@{setData}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{setData()}{setData()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{class_plot_types_a0af183824b60c73e0067db8e30178ccc} 
void Plot\+Types\+::set\+Data (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ double $>$ \&}]{data1D}{}\end{DoxyParamCaption})}



Set 1D data. 


\begin{DoxyParams}{Parameters}
{\em data1D} & 1D data in form of 1D vector. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_a8ecf0a3ef3da431fc107f98bec55b278}\index{PlotTypes@{PlotTypes}!setData@{setData}}
\index{setData@{setData}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{setData()}{setData()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{class_plot_types_a8ecf0a3ef3da431fc107f98bec55b278} 
void Plot\+Types\+::set\+Data (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ std\+::vector$<$ double $>$ $>$ \&}]{data2D}{}\end{DoxyParamCaption})}



Set 2D data. 


\begin{DoxyParams}{Parameters}
{\em data2D} & 2D data in form of 2D vector. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_a16a9026940c69673846de55ae9a058f5}\index{PlotTypes@{PlotTypes}!setPlotEndHeight@{setPlotEndHeight}}
\index{setPlotEndHeight@{setPlotEndHeight}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{setPlotEndHeight()}{setPlotEndHeight()}}
{\footnotesize\ttfamily \label{class_plot_types_a16a9026940c69673846de55ae9a058f5} 
void Plot\+Types\+::set\+Plot\+End\+Height (\begin{DoxyParamCaption}\item[{const wx\+Coord}]{plot\+End\+Height}{}\end{DoxyParamCaption})}



Set the right bottom corner in Y-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) 

\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{1}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ }\\\cline{1-1}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ }\\\cline{1-1}
\endhead
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\end{longtabu}
(plot\+Start\+Width, plot\+End\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+End\+Height) 
\begin{DoxyParams}{Parameters}
{\em plot\+End\+Height} & End height is at the end of Y-\/axis. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_a0c99728b7c32b3b0e66052f7c11b83e7}\index{PlotTypes@{PlotTypes}!setPlotEndWidth@{setPlotEndWidth}}
\index{setPlotEndWidth@{setPlotEndWidth}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{setPlotEndWidth()}{setPlotEndWidth()}}
{\footnotesize\ttfamily \label{class_plot_types_a0c99728b7c32b3b0e66052f7c11b83e7} 
void Plot\+Types\+::set\+Plot\+End\+Width (\begin{DoxyParamCaption}\item[{const wx\+Coord}]{plot\+End\+Width}{}\end{DoxyParamCaption})}



Set the right upper corner in X-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) 

\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{1}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ }\\\cline{1-1}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ }\\\cline{1-1}
\endhead
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\end{longtabu}
(plot\+Start\+Width, plot\+End\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+End\+Height) 
\begin{DoxyParams}{Parameters}
{\em plot\+End\+Width} & End width is at the end of X-\/axis. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_a6e88881cdced4cc6739ae2cd83f7e731}\index{PlotTypes@{PlotTypes}!setPlotStartHeight@{setPlotStartHeight}}
\index{setPlotStartHeight@{setPlotStartHeight}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{setPlotStartHeight()}{setPlotStartHeight()}}
{\footnotesize\ttfamily \label{class_plot_types_a6e88881cdced4cc6739ae2cd83f7e731} 
void Plot\+Types\+::set\+Plot\+Start\+Height (\begin{DoxyParamCaption}\item[{const wx\+Coord}]{plot\+Start\+Height}{}\end{DoxyParamCaption})}



Set the left upper corner in Y-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) 

\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{1}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ }\\\cline{1-1}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ }\\\cline{1-1}
\endhead
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\end{longtabu}
(plot\+Start\+Width, plot\+End\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+End\+Height) 
\begin{DoxyParams}{Parameters}
{\em plot\+Start\+Height} & Start height is at the start of Y-\/axis. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_add906526a50180b0ebebb02f76c0869c}\index{PlotTypes@{PlotTypes}!setPlotStartWidth@{setPlotStartWidth}}
\index{setPlotStartWidth@{setPlotStartWidth}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{setPlotStartWidth()}{setPlotStartWidth()}}
{\footnotesize\ttfamily \label{class_plot_types_add906526a50180b0ebebb02f76c0869c} 
void Plot\+Types\+::set\+Plot\+Start\+Width (\begin{DoxyParamCaption}\item[{const wx\+Coord}]{plot\+Start\+Width}{}\end{DoxyParamCaption})}



Set the left upper corner in X-\/axis. Inside this rectangle, the plot is drawn. NOTE\+: This value is recalculated since the plot figure is drawn! (plot\+Start\+Width, plot\+Start\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+Start\+Height) 

\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{1}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ }\\\cline{1-1}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ }\\\cline{1-1}
\endhead
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\\\cline{1-1}
\end{longtabu}
(plot\+Start\+Width, plot\+End\+Height) -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/--- (plot\+End\+Width, plot\+End\+Height) 
\begin{DoxyParams}{Parameters}
{\em plot\+Start\+Width} & Start width is at the start of X-\/axis. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_a31953407521586fde6c3a54f7c10e753}\index{PlotTypes@{PlotTypes}!setRadius@{setRadius}}
\index{setRadius@{setRadius}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{setRadius()}{setRadius()}}
{\footnotesize\ttfamily \label{class_plot_types_a31953407521586fde6c3a54f7c10e753} 
void Plot\+Types\+::set\+Radius (\begin{DoxyParamCaption}\item[{const wx\+Coord}]{radius}{}\end{DoxyParamCaption})}



Set radius. Most used for circles e.\+g filling scatter plots. 


\begin{DoxyParams}{Parameters}
{\em radius} & The radius of the circle. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_afeb7fe42e1204c264bbb3f4cbdff89d5}\index{PlotTypes@{PlotTypes}!setWxPlotFigureType@{setWxPlotFigureType}}
\index{setWxPlotFigureType@{setWxPlotFigureType}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{setWxPlotFigureType()}{setWxPlotFigureType()}}
{\footnotesize\ttfamily \label{class_plot_types_afeb7fe42e1204c264bbb3f4cbdff89d5} 
void Plot\+Types\+::set\+Wx\+Plot\+Figure\+Type (\begin{DoxyParamCaption}\item[{const WXPLOT\+\_\+\+FIGURE}]{wx\+Plot\+Figure}{, }\item[{const WXPLOT\+\_\+\+TYPE}]{wx\+Plot\+Type}{}\end{DoxyParamCaption})}



Set the plot type selection and plot figure selection. 


\begin{DoxyParams}{Parameters}
{\em wx\+Plot\+Figure} & Selection of plot figure. \\
\hline
{\em wx\+Plot\+Type} & Selection of plot type. \\
\hline
\end{DoxyParams}
\Hypertarget{class_plot_types_ad2fedb68d485b7d643338461c113e714}\index{PlotTypes@{PlotTypes}!setYlim@{setYlim}}
\index{setYlim@{setYlim}!PlotTypes@{PlotTypes}}
\doxysubsubsection{\texorpdfstring{setYlim()}{setYlim()}}
{\footnotesize\ttfamily \label{class_plot_types_ad2fedb68d485b7d643338461c113e714} 
void Plot\+Types\+::set\+Ylim (\begin{DoxyParamCaption}\item[{const double}]{minY}{, }\item[{const double}]{maxY}{}\end{DoxyParamCaption})}



Set the plot zoom limit in Y-\/axis. 


\begin{DoxyParams}{Parameters}
{\em minY} & Minimum limit in Y-\/axis. \\
\hline
{\em maxY} & Maximum limit in Y-\/axis. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
C\+:/\+Users/danie/\+Documents/\+Git\+Hub/wx\+Plot/wx\+Plot/src/plots/plottypes/plottypes.\+hpp\item 
C\+:/\+Users/danie/\+Documents/\+Git\+Hub/wx\+Plot/wx\+Plot/src/plots/plottypes/plottypes.\+cpp\end{DoxyCompactItemize}
