Hi,
Forgive me, because I am new in R.
I need a graph, where:
- y axe has log scale
- graph would have 4 set values: set first (out$a) has values over 5.5, set
second (out$b) and third (out$c) has values over 0.005 and the last set
(out$d) has values over 0.0005 of y axe. For this reason, I need have log
scale on y axe.
I've look for web, but I can't do the graph that I need.

I try to do something as:

out <- read.table("/my_path/data.dat", header=T, sep="\t")
plot_colors <- c("blue","red","forestgreen","yellow")
plot(out$a, log="y", type="l", col=plot_colors[1], axes=FALSE, ann=T,
xlab="tittle_x_axe", ylab="title_y_axe", cex.lab=0.8, lwd=2)
axis(1, at=1:200)
lines(out$b, type="l", pch=1, lty=1, col=plot_colors[2])
lines(out$c, type="l", pch=2, lty=2, col=plot_colors[3])
lines(out$d, type="l", pch=3, lty=3, col=plot_colors[4])

But, I have to only plotted  the first  set  of values (out$a). How can I
draw all my values?

Thanks in advance.

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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