[R] R graphic help
baptiste auguie
baptiste.auguie at googlemail.com
Sun Jul 18 12:01:00 CEST 2010
Hi,
There may be a simpler way but try this,
plot(10^jitter(seq(-2,4,length=10)), 1:10, log="x", xaxt="n")
axis(1, at = axTicks(1),labels = format(axTicks(1),scientific=FALSE))
HTH,
baptiste
On 18 July 2010 10:58, Timothy O'Brien <teobrien at gmail.com> wrote:
> Dear All,
>
> I've done some searching, but to no avail --
>
> I'm plotting x-y data via the "plot" command, and the "log=x" command.
>
> The graphed x values are in scientific notation (1e-02 1e-01 1e+00 etc).
> Might you have some idea on how I can get the plot to uses the x values
> (0.01 0.10 1.0 10.0 etc) instead? A related Q - where might a good place to
> search for such answers? I've tried using Google searches and reading some
> posted Manuals but ...
>
> Thanks,
> Tim O'Brien
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>
More information about the R-help
mailing list