Skip to content
Prev 172557 / 398506 Next

behavior of squishplot in TeachingDemos

Thank you for finding this.  Yes in some cases the parameter settings need to be updated by a call to plot.new for the calculations to be correct (if you carried out your example 2 more times you would see that the 3rd plot is also incorrect since it is still using the dimensions of the 2nd plot in the calculations).

I have added a call to plot.new inside of the squishplot function for the next version, but until that comes out (I have been meaning to get it out for a while, but don't have a specific time frame) the work around that you found of calling plot.new before squishplot is the best thing to do.

Thanks,