Plot legends. More...
#include <vector>
#include <string>
#include "graph.hpp"
#include "label.hpp"
#include "colormap.hpp"
Go to the source code of this file.
Classes | |
class | LegendEntry |
Class for legend entry. More... | |
class | Legend |
Base class for legend definition. More... | |
class | MultiEntryLegend |
Legend for presenting plot styles. More... | |
class | ColormapLegend |
Legend for presenting colormap key. More... | |
Defines | |
#define | LEGEND_POS_VERTICAL_MASK 12 |
#define | LEGEND_POS_HORIZONTAL_MASK 3 |
#define | LEGEND_POS_BOTTOM 0 |
#define | LEGEND_POS_MIDDLE 4 |
#define | LEGEND_POS_TOP 8 |
#define | LEGEND_POS_LEFT 0 |
#define | LEGEND_POS_CENTER 1 |
#define | LEGEND_POS_RIGHT 2 |
Enumerations | |
enum | legend_position_e { LEGEND_POS_BOTTOM_LEFT = 0, LEGEND_POS_BOTTOM_CENTER = 1, LEGEND_POS_BOTTOM_RIGHT = 2, LEGEND_POS_MIDDLE_LEFT = 4+0, LEGEND_POS_MIDDLE_CENTER = 4+1, LEGEND_POS_MIDDLE_RIGHT = 4+2, LEGEND_POS_TOP_LEFT = 8+0, LEGEND_POS_TOP_CENTER = 8+1, LEGEND_POS_TOP_RIGHT = 8+2 } |
Legend position. More... |
Plot legends.
#define LEGEND_POS_BOTTOM 0 |
#define LEGEND_POS_CENTER 1 |
#define LEGEND_POS_HORIZONTAL_MASK 3 |
#define LEGEND_POS_LEFT 0 |
#define LEGEND_POS_MIDDLE 4 |
#define LEGEND_POS_RIGHT 2 |
#define LEGEND_POS_TOP 8 |
#define LEGEND_POS_VERTICAL_MASK 12 |
enum legend_position_e |