Re: [R] how to plot the spectrum by log-log axis

2014-01-07 Thread Jie Tang
I use windlog=log10(windspec) plot(windlog) it seems good but stupid is there any better method ? 2014/1/7 Jie Tang > Futher more > > When I write as below :,the result is still not satisfied . > asp=spectrum(ww_spec) > windspec=data.frame(asp) > plot(windspec,log="dB") > > > 2014/1/7 Ji

Re: [R] how to plot the spectrum by log-log axis

2014-01-07 Thread Jie Tang
Futher more When I write as below :,the result is still not satisfied . asp=spectrum(ww_spec) windspec=data.frame(asp) plot(windspec,log="dB") 2014/1/7 Jie Tang > hi > I have a wind dataset and I want to analze its spectrum with > the x-axis and y-axis in log .But I found that > when I set

[R] how to plot the spectrum by log-log axis

2014-01-07 Thread Jie Tang
hi I have a wind dataset and I want to analze its spectrum with the x-axis and y-axis in log .But I found that when I set log="dB" in spectrum as shown below,what I can get is a figure by log y-axis. How could I get a log-axis figure both in x-axis and y-axis ? thank you . yylab<-c("Wind Spectrum(