reporting: graph: add option yTickLabelScaled
parent
2f4540d36c
commit
8a89b63cea
|
@ -72,6 +72,7 @@ o.xTickLabels = {};
|
|||
o.xTickLabelRotation = 0;
|
||||
o.xTickLabelAnchor = 'east';
|
||||
|
||||
o.yTickLabelScaled = true;
|
||||
o.yTickLabelPrecision = 0;
|
||||
o.yTickLabelFixed = true;
|
||||
o.yTickLabelZeroFill = true;
|
||||
|
@ -137,6 +138,7 @@ assert(ischar(o.xTickLabelAnchor), '@graph.graph: xTickLabelAnchor must be a str
|
|||
assert(isint(o.yTickLabelPrecision), '@graph.graph: o.yTickLabelPrecision must be an integer');
|
||||
assert(islogical(o.yTickLabelFixed), '@graph.graph: yTickLabelFixed must be either true or false');
|
||||
assert(islogical(o.yTickLabelZeroFill), '@graph.graph: yTickLabelZeroFill must be either true or false');
|
||||
assert(islogical(o.yTickLabelScaled), '@graph.graph: yTickLabelScaled must be either true or false');
|
||||
|
||||
assert(ischar(o.shadeColor), '@graph.graph: shadeColor must be a string');
|
||||
assert(ischar(o.zeroLineColor), '@graph.graph: zeroLineColor must be a string');
|
||||
|
|
|
@ -186,6 +186,10 @@ if ~isempty(o.ylabel)
|
|||
fprintf(fid, 'ylabel=%s,\n', o.ylabel);
|
||||
end
|
||||
|
||||
if ~o.yTickLabelScaled
|
||||
fprintf(fid, 'scaled y ticks = false,\n');
|
||||
end
|
||||
|
||||
if ~isempty(o.miscTikzAxisOptions)
|
||||
fprintf(fid, '%s', o.miscTikzAxisOptions);
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue