Пример #1
0
        private static void _addTicks(Dictionary <String, double> labelValues, AxisTicks axisTicks)
        {
            List <string> commands = axisTicks.AddTicks(labelValues);

            for (int i = 0; i < commands.Count; i++)
            {
                Gnuplot.WriteCommand(commands[i]);
            }
        }
Пример #2
0
        public Axis()
        {
            _xRange = new AxisRange();
            _yRange = new AxisRange(AxisName.Y);
            _zRange = new AxisRange(AxisName.Z);

            _xTicks = new AxisTicks();
            _yTicks = new AxisTicks(AxisName.Y);
            _zTicks = new AxisTicks(AxisName.Z);

            _xlabel = new AxisLabel();
            _ylabel = new AxisLabel(AxisName.Y);
            _zlabel = new AxisLabel(AxisName.Z);
        }
Пример #3
0
        private void _removeTicks(AxisTicks axisTicks)
        {
            var removeTickscommand = axisTicks.RemoveTicks();

            Gnuplot.WriteCommand(removeTickscommand);
        }
Пример #4
0
        private void _setTicks(IEnumerable <double> ticksValues, AxisTicks axisTicks)
        {
            var ticksCommand = axisTicks.SetTicks(ticksValues: ticksValues);

            Gnuplot.WriteCommand(ticksCommand);
        }