scatter 0.1.0
ScatterPlotOptions.hpp
1/*
2 * Copyright (C) Tobias Löw (tobi.loew@protonmail.ch)
3 *
4 * This file is part of Scatter
5 *
6 * Scatter is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * Scatter is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Scatter. If not, see <https://www.gnu.org/licenses/>.
18 */
19
20#pragma once
21
22#include <scatter/Options.hpp>
23#include <scatter/plots/ScatterPlot.hpp>
24
25namespace scatter
26{
27
34 {
35 public:
41
47
52 Options &setMarker(const Marker &marker);
53
60 Options &setSize(const double &size);
61
66 const Marker &getMarker() const;
67
73 const double &getSize() const;
74
75 private:
77 Marker marker_;
78
80 double size_;
81 };
82
83} // namespace scatter
[brief description]
Definition ScatterPlotOptions.hpp:34
const double & getSize() const
[brief description]
~Options()
[brief description]
Options & setMarker(const Marker &marker)
[brief description]
Options()
[brief description]
const Marker & getMarker() const
[brief description]
Options & setSize(const double &size)
[brief description]