On Feb 9, 2013, at 4:52 AM, Eike Marie Thaysen wrote:
Hi,
I have run into this problem a couple of times now and hope you can
help!
If I want to plot mulitiple series with differing x-axis values
(however, all in the same range) in 1 plot with one common axis R
obstruses the plots.
E.g. if I plot water content against time and I start with the
sampler at 5 cm depth, it plots that one right.
But the next depth, 15 cm, is measured at slightly different time
intervals and so R will not plot the series correctly.
Reading in the data using “ stringsAsFactors=FALSE” helps, but the
lines are still plottet in an akward fashion (edgy) , see attached
image.
Hope you can help!
eike
No image was attached. It was probably in a format the the mail server
would not accept. PDF files are the only one listed as being
acceptable, but I think from experience that PNG files might also make
it through. It would probably also help if you offered the output of
str(dfrm) on whateever dataframe you are working with.
--
David.
Eike Marie Thaysen
Ph.d. studerende
ECO
Institut for Kemiteknik DTU
Danmarks Tekniske Universitet
[dtu]
Risø Campus
Frederiksborgvej 399
Bygning 309
4000 Roskilde
Telefon: 51801481
e...@kt.dtu.dk<mailto:e...@risoe.dtu.dk>
www.dtu.dk<http://www.risoe.dtu.dk/>
______________________________________________
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.
David Winsemius, MD
Alameda, CA, USA
______________________________________________
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.