df<-data.frame(x=c(1.1, 10, 100, 1000, 10000), y=c(1,2,3,4,5))
ggplot(data=df, aes(x=x, y=y))+scale_x_log10(labels=trans_format('log10',math_format(10^.x)))+geom_point()
Roey
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
ggplot(data=df, aes(x=x, y=y))+scale_x_continuous(labels=trans_format('log10',math_format(10^.x)))+geom_point()
> On Wed, Oct 17, 2012 at 2:45 PM, Roey Angel <angel-QidqKpz2+uDjtQW52tizGYQuADTiUCJX@public.gmane.org>wrote:
>
>> I tried this already and the result is:
>> 10^-Inf 10^3.39794 10^3.69897 ...
>> which are all correct (i.e. 10^3.39794 is very close to 2500) but are not
>> a helpful format.
>>
>>
>>
>> On Wednesday, October 17, 2012 3:39:51 PM UTC+2, Brandon Hurr wrote:
>>
>>> How about this?
>>>
>>> ggplot(data=df, aes(x=x, y=y))+scale_x_continuous(**
>>> labels=trans_format('log10',**math_format(10^.x)))+geom_**point()
>>>
>>>
>>>
>>> On Wed, Oct 17, 2012 at 2:32 PM, Roey Angel <an...-QidqKpz2+uDjtQW52tizGYQuADTiUCJX@public.gmane.org>wrote:
>>>
>>>> df<-data.frame(x=c(1.1, 10, 100, 1000, 10000), y=c(1,2,3,4,5))
>>>> ggplot(data=df, aes(x=x, y=y))+scale_x_log10(labels=**tra**
>>>> ns_format('log10',math_**format(**10^.x)))+geom_point()
>>>>
>>>
>>> --
>> You received this message because you are subscribed to the ggplot2
>> mailing list.
>> Please provide a reproducible example:
>> https://github.com/hadley/devtools/wiki/Reproducibility
>>
>> To post: email ggplot2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> To unsubscribe: email ggplot2+unsubscribe-/JYPxA39Uh5TLH3M...@public.gmane.org
> On Wed, Oct 17, 2012 at 2:45 PM, Roey Angel <angel-QidqKpz2+uDjtQW52tizGYQuADTiUCJX@public.gmane.org>wrote:
>
>> I tried this already and the result is:
>> 10^-Inf 10^3.39794 10^3.69897 ...
>> which are all correct (i.e. 10^3.39794 is very close to 2500) but are not
>> a helpful format.
>>
>>
>>
>> On Wednesday, October 17, 2012 3:39:51 PM UTC+2, Brandon Hurr wrote:
>>
>>> How about this?
>>>
>>> ggplot(data=df, aes(x=x, y=y))+scale_x_continuous(**
>>> labels=trans_format('log10',**math_format(10^.x)))+geom_**point()
>>>
>>>
>>>
>>> On Wed, Oct 17, 2012 at 2:32 PM, Roey Angel <an...-QidqKpz2+uDjtQW52tizGYQuADTiUCJX@public.gmane.org>wrote:
>>>
>>>> df<-data.frame(x=c(1.1, 10, 100, 1000, 10000), y=c(1,2,3,4,5))
>>>> ggplot(data=df, aes(x=x, y=y))+scale_x_log10(labels=**tra**
>>>> ns_format('log10',math_**format(**10^.x)))+geom_point()
>>>>
>>>
>>> --
>> You received this message because you are subscribed to the ggplot2
>> mailing list.
>> Please provide a reproducible example:
>> https://github.com/hadley/devtools/wiki/Reproducibility
>>
>> To post: email ggplot2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> To unsubscribe: email ggplot2+unsubscribe-/JYPxA39Uh5TLH3M...@public.gmane.org
>> More options: http://groups.google.com/group/ggplot2
>>
>
--
Brian S. Diggs, PhD
Senior Research Associate, Department of Surgery
Oregon Health & Science University