WeBWorK Problems

accessing a dynamic images pixel width

Re: accessing a dynamic images pixel width

by Gavin LaRose -
Number of replies: 0

From the WWPlot source, it looks as if $gr->size() will return the pixel size (width, height) of the graph object as an array reference. So I think your call will work if you replace $gr->size[0] with $gr->size()->[0].

Gavin