I use

windlog=log10(windspec)
plot(windlog)
it seems good but stupid

is there any better method ?




2014/1/7 Jie Tang <totangjie@gmail.com>

> 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 <totangjie@gmail.com>
>
>> 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(db) ")
>> YY=c(-40,40)
>> spectrum(ww_spec,log = "dB",ylim=YY,main=maininfo,ylab=yylab)
>>
>> --
>> TANG Jie
>>
>>
>
>
> --
> TANG Jie
> Email: totangjie@gmail.com
> Tel: 0086-2154896104
> Shanghai Typhoon Institute,China
>



-- 
TANG Jie
Email: totangjie@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China

	[[alternative HTML version deleted]]


