Thank you for your answer. That's the workaround I use - but that's
not what I intended: the resulting graph looks correct. I used this
approach a hundred times. But the ugly thing remains: the x-values
(independent variables) are treated as y-values, and the y-values
(dependent variables, f(x)) as if they were x-values.But what if I
have several f(x) values for one x-value, and want to create an error
bar or similar? Therefore my question: How can I plot x-values from
top to bottom an y-values from left to right _without_ "masquerading"
them as y resp. x?

Richard

2012/8/23 S Ellison <s.elli...@lgcgroup.com>:
> See ?par etc
>
> Setting ylim  sets the bottom and top of the plot respectively, so
> plot(1:10, ylim=c(11,0), xlim=c(0,11), ylab='depth')

-- 
Richard Müller . Am Spring 9 . D-58802 Balve
www.oeko-sorpe.de

______________________________________________
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