Created attachment 1841 [details]
example for a prolem w.r.t. to logarithmic coordinate in plot.wondow()
I would expect the "plot.window()" function to set
the coordinate system according to the log=... parameter,
whenever this parameter is provided.
But this is not always the case.
With the attached code, the 1st and 2nd curved are plotted as
expected. But the 3rd curve has a logarithmic y coordinate, similar to
that of the 2nd curve. I expected it to be linear (similar to curve 1),
because I have provided the parameter log="".
It seems that, after the plotting of the curve 2, the par("ylog") has
been set to True. And this can not be reverted even if log="" is given
in the next plot.window() calling.
I labeled the severity of this problem as "trivial". because one can easily
circumvent the problem by always use par() to do the setting, instead of
using log=... in plot.window(). For example:
plot.window( x,y, xlim=c(1, 10), ylim=c(1, 10) )
This way one can always control the coordinate as wanted.
However, I still think the current behavior of plot.window() to be unexpected.