Calculate limits for x-axis.
Calculates limits for x-axis depending on data values that have to be plotted, extra plot elements that have to be shown and margins.
mdaplot.getXAxisLim( ps, xlim, show.labels = FALSE, show.lines = FALSE, show.excluded = FALSE, bwd = 0.8 )
ps
: plotseries
object.xlim
: limits provided by usershow.labels
: logical, will data labels be shown on the plotshow.lines
: logical or numeric with line coordinates to be shown on the plot.show.excluded
: logical, will excluded values be shown on the plotbwd
: if limits are computed for bar plot, this is a bar width (otherwise NULL)Returns a vector with two limits.