hi, i`m trying to use the plot function to show more variable-funktions in one graphic. so for example i would like to show Chinas Income in different sectors in one graphic. obviousely typing plot(ChinaIncome) the graphics are split and there is one graphic for agriculture, one for industry.... i would like to put them togheter in one graphic, maybe with different colors for every function, doesn`t matter. would be nice if someone could help me. thanks a lot for taking care about it. best regards simon -- View this message in context: http://r.789695.n4.nabble.com/plot-graphic-tp3705088p3705088.html Sent from the R help mailing list archive at Nabble.com.
Can you be a little more specific as to the structure of your data - time series, single point, levels, relative values, etc? I think that will let us help you along the way to a specific set of plot tools...For now check out the R plots/graphics gallery (easy google). Also see ?plot Michael Weylandt On Jul 29, 2011, at 3:32 PM, Crock <simon.baumgartner at gmail.com> wrote:> hi, > i`m trying to use the plot function to show more variable-funktions in one > graphic. so for example i would like to show Chinas Income in different > sectors in one graphic. obviousely typing plot(ChinaIncome) the graphics are > split and there is one graphic for agriculture, one for industry.... i would > like to put them togheter in one graphic, maybe with different colors for > every function, doesn`t matter. > would be nice if someone could help me. thanks a lot for taking care about > it. > best regards > simon > > > -- > View this message in context: http://r.789695.n4.nabble.com/plot-graphic-tp3705088p3705088.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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.
Dear Simon, Am Freitag, den 29.07.2011, 12:32 -0700 schrieb Crock:> i`m trying to use the plot function to show more variable-funktions in one > graphic. so for example i would like to show Chinas Income in different > sectors in one graphic. obviousely typing plot(ChinaIncome) the graphics are > split and there is one graphic for agriculture, one for industry.... i would > like to put them togheter in one graphic, maybe with different colors for > every function, doesn`t matter. > would be nice if someone could help me. thanks a lot for taking care about > it.please read `?plot`, `?plot.default` and `?plot.function` as starters. Take a look at the examples and go on from there. You can for example add lines or curves using `curve(x**2, add = TRUE)`. > x = c(1:10) > plot(x) > curve(x**2, add = TRUE) Thanks, Paul -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110729/051128e3/attachment.bin>
Hi: This is simple to do in any of the supported graphics systems in R, and there are a number of kind people who are willing to and capable of providing help. Unfortunately, since you didn't supply any data or code, you've made it difficult for them to help you. Please read the Posting Guide that is linked at the bottom of this e-mail and try again with that new perspective in mind. Dennis On Fri, Jul 29, 2011 at 12:32 PM, Crock <simon.baumgartner at gmail.com> wrote:> hi, > i`m trying to use the plot function to show more variable-funktions in one > graphic. so for example i would like to show Chinas Income in different > sectors in one graphic. obviousely typing plot(ChinaIncome) the graphics are > split and there is one graphic for agriculture, one for industry.... i would > like to put them togheter in one graphic, maybe with different colors for > every function, doesn`t matter. > would be nice if someone could help me. thanks a lot for taking care about > it. > best regards > simon > > > -- > View this message in context: http://r.789695.n4.nabble.com/plot-graphic-tp3705088p3705088.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >