From the docs
(
https://core.tcl-lang.org/tklib/doc/trunk/embedded/www/tklib/files/modules/plotchart/plotchart.html),
it appears that you specify the size of the plot when you create it:
::Plotchart::createXYPlot w xaxis yaxis args
list xaxis (in)
A 3-element list containing minimum, maximum and stepsize for
the x-axis, in this order. For an inverted axis, where the maximum
appears on the left-hand side, use: maximum, minimum and a negative
stepsize.
list yaxis (in)
A 3-element list containing minimum, maximum and stepsize for
the y-axis, in this order. For an inverted axis, where the maximum
appears at the bottom, use: maximum, minimum and a negative
stepsize.
Or by the xconfig/yconfig commands:
$anyplot xconfig -option value ...
scale scale_data
New scale data for the axis, i.e. a 3-element list containing
minimum, maximum and stepsize for the axis, in this order.
Beware: Setting this option will clear all data from the plot.
But note the "Beware" warning in the docs for xconfig/yconfig.