ColorAxis.cc 733 Bytes
/*
 * ColorAxis.cc
 *
 *  Created on: 30 jun. 2014
 *      Author: AKKA
 */

#include "ColorAxis.hh"

using namespace plot;

std::string ColorAxis::getPlotOpt()
{
	std::string options = DigitalAxis::getPlotOpt();

	//b & c : Draws edge of frame
	//options += "bc";

	//v: Write numeric labels for vertical axis parallel to the base of the graph,
	//    rather than parallel to the axis.
	options += "v";

	/*//Use custom labelling function to generate axis label text.
	options += "o";

	if (_scale == Scale::LOGARITHMIC)
		//l: Labels axis logarithmically
		options += "l";*/

	return options;
}

ColorAxis::Format ColorAxis::getFormat()
{
	//always used scientific format for color axis
	return DigitalAxis::Format::SCIENTIFIC;
}