I use

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

is there any better method ?




2014/1/7 Jie Tang <totang...@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 <totang...@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: totang...@gmail.com
> Tel: 0086-2154896104
> Shanghai Typhoon Institute,China
>



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

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to