A simple log-log plot of a can be created using XY and LOG10:
xy(log10(xvals(w1)+.0001), log10(w1))
However this method actually transforms the data. A much better method is to specify logarithmic axis using the SETXLOG, SETYLOG, SEMILOGX, SEMILOGY and LOGLOG functions.