Hi , I am using the plot function for some data , and the plot is coming back pure black , with scales on the side . Regards Malcolm [[alternative HTML version deleted]]
My apologies for the poor quality of the last post. Query> plot(V6,V5, col="red")or> plot(V6,V5)the graph is attached. Data V5 V6 2063 0.009179148 -8117667.885 2064 0.03854349 -8117963.045 2065 -0.018345998 -8117980.935 2066 0.023662906 -8118013.245 2067 0.011029293 -8118253.705 2068 0.01772285 -8118287.025 2069 0.013767122 -8118297.385 2070 0.005579858 -8118832.465 2071 -0.011432977 -8118905.025 2072 0.017675178 -8118990.045 2073 0.037850056 -8118993.905 2074 -0.002187153 -8119290.345 2075 0.03605708 -8119671.645 2076 0.029300877 -8119714.665 2077 -0.008533494 -8119716.585 2078 0.016006132 -8119989.885 2079 0.005745295 -8120185.745 2080 0.00444089 -8120193.425 2081 -0.006769723 -8120293.745 2082 -0.058917022 -8121208.925 2083 0.016650977 -8121585.625 2084 0.013880279 -8123869.985 2085 0.036072047 -8124184.185 2086 0.030211163 -8124396.485 2087 0.036530434 -8124771.525 2088 0.039814047 -8125542.285 2089 0.039217756 -8126208.525 2090 0.044641797 -8126532.865 2091 -0.007088835 -8126578.105 2092 0.043141658 -8126678.505 2093 0.053877516 -8131283.565 2094 0.055036843 -8143173.245 2095 0.128109562 -8160652.125 V1 V2 V3 V4 2074 SHIELD MARKETING C AND C INDEPENDANTS REDISTRIBUTION 2075 ACKERMANS NON FOOD RETAIL CONVENIENCE 2076 PEP NON FOOD RETAIL CONVENIENCE 2077 ACKERMANS NON FOOD RETAIL CONVENIENCE 2078 PEP NON FOOD RETAIL CONVENIENCE 2079 ACKERMANS NON FOOD RETAIL CONVENIENCE 2080 ACKERMANS NON FOOD RETAIL CONVENIENCE 2081 SHIELD MARKETING C AND C INDEPENDANTS REDISTRIBUTION 2082 ACKERMANS NON FOOD RETAIL CONVENIENCE 2083 ACKERMANS NON FOOD RETAIL CONVENIENCE 2084 ACKERMANS NON FOOD RETAIL CONVENIENCE 2085 ACKERMANS NON FOOD RETAIL CONVENIENCE 2086 INDEPENDENT CAFES IMPULSE CONVENIENCE 2087 ACKERMANS NON FOOD RETAIL CONVENIENCE 2088 SHIELD MARKETING C AND C INDEPENDANTS REDISTRIBUTION 2089 SHIELD MARKETING C AND C INDEPENDANTS REDISTRIBUTION 2090 ACKERMANS NON FOOD RETAIL CONVENIENCE 2091 ACKERMANS NON FOOD RETAIL CONVENIENCE 2092 ACKERMANS NON FOOD RETAIL CONVENIENCE 2093 INDEPENDENT WHOLESALERS C AND C INDEPENDANTS REDISTRIBUTION 2094 SHOPRITE GROCERY RETAIL 2095 OK FRANCHISE DIVISION GROCERY TOP UP RETAIL Regards Malcolm On Sun, Aug 16, 2009 at 8:47 PM, malcolm Crouch <malcolm.croucher at gmail.com>wrote:> Hi , > > I am using the plot function for some data , and the plot is coming back > pure black , with scales on the side . > > Regards > > Malcolm > > >-- Malcolm A.B Croucher
What is the problem exactly? Remko ------------------------------------------------- Remko Duursma Post-Doctoral Fellow Centre for Plants and the Environment University of Western Sydney Hawkesbury Campus Richmond NSW 2753 Dept of Biological Science Macquarie University North Ryde NSW 2109 Australia Mobile: +61 (0)422 096908 www.remkoduursma.com On Mon, Aug 17, 2009 at 5:19 AM, malcolm Crouch<malcolm.croucher at gmail.com> wrote:> My apologies for the poor quality of the last post. > > > Query > > >> plot(V6,V5, col="red") > or >> plot(V6,V5) > > the graph is attached. > > Data > > ? ? ? ? ? ? ? ? V5 ? ? ? ? ? ? ? V6 > 2063 ?0.009179148 -8117667.885 > 2064 ? 0.03854349 -8117963.045 > 2065 -0.018345998 -8117980.935 > 2066 ?0.023662906 -8118013.245 > 2067 ?0.011029293 -8118253.705 > 2068 ? 0.01772285 -8118287.025 > 2069 ?0.013767122 -8118297.385 > 2070 ?0.005579858 -8118832.465 > 2071 -0.011432977 -8118905.025 > 2072 ?0.017675178 -8118990.045 > 2073 ?0.037850056 -8118993.905 > 2074 -0.002187153 -8119290.345 > 2075 ? 0.03605708 -8119671.645 > 2076 ?0.029300877 -8119714.665 > 2077 -0.008533494 -8119716.585 > 2078 ?0.016006132 -8119989.885 > 2079 ?0.005745295 -8120185.745 > 2080 ? 0.00444089 -8120193.425 > 2081 -0.006769723 -8120293.745 > 2082 -0.058917022 -8121208.925 > 2083 ?0.016650977 -8121585.625 > 2084 ?0.013880279 -8123869.985 > 2085 ?0.036072047 -8124184.185 > 2086 ?0.030211163 -8124396.485 > 2087 ?0.036530434 -8124771.525 > 2088 ?0.039814047 -8125542.285 > 2089 ?0.039217756 -8126208.525 > 2090 ?0.044641797 -8126532.865 > 2091 -0.007088835 -8126578.105 > 2092 ?0.043141658 -8126678.505 > 2093 ?0.053877516 -8131283.565 > 2094 ?0.055036843 -8143173.245 > 2095 ?0.128109562 -8160652.125 > V1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? V2 > V3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?V4 > 2074 ? ? ? ? ? ? ? ? ? ? ? SHIELD MARKETING C AND C INDEPENDANTS > REDISTRIBUTION > 2075 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2076 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?PEP ? ? ?NON FOOD RETAIL > CONVENIENCE > 2077 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2078 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?PEP ? ? ?NON FOOD RETAIL > CONVENIENCE > 2079 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2080 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2081 ? ? ? ? ? ? ? ? ? ? ? SHIELD MARKETING C AND C INDEPENDANTS > REDISTRIBUTION > 2082 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2083 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2084 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2085 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2086 ? ? ? ? ? ? ? ? ? ? ?INDEPENDENT CAFES ? ? ? ? ? ? ?IMPULSE > CONVENIENCE > 2087 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2088 ? ? ? ? ? ? ? ? ? ? ? SHIELD MARKETING C AND C INDEPENDANTS > REDISTRIBUTION > 2089 ? ? ? ? ? ? ? ? ? ? ? SHIELD MARKETING C AND C INDEPENDANTS > REDISTRIBUTION > 2090 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2091 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2092 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ACKERMANS ? ? ?NON FOOD RETAIL > CONVENIENCE > 2093 ? ? ? ? ? ? ? ?INDEPENDENT WHOLESALERS C AND C INDEPENDANTS > REDISTRIBUTION > 2094 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? SHOPRITE ? ? ? ? ? ? ?GROCERY > RETAIL > 2095 ? ? ? ? ? ? ? ? ?OK FRANCHISE DIVISION ? ? ? GROCERY TOP UP > RETAIL > > > Regards > > Malcolm > > On Sun, Aug 16, 2009 at 8:47 PM, malcolm Crouch > <malcolm.croucher at gmail.com>wrote: > >> Hi , >> >> I am using the plot function for some data , and the plot is coming back >> pure black , with scales on the side . >> >> Regards >> >> Malcolm >> >> >> > > > -- > Malcolm A.B Croucher > > ______________________________________________ > 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. > >
On Sun, Aug 16, 2009 at 9:19 PM, malcolm Crouch<malcolm.croucher at gmail.com> wrote:>> plot(V6,V5, col="red") > or >> plot(V6,V5)It seems that V5 and V6 are column names in your data matrix. If your matrix is called data, you should use plot(x$V6,x$V5,col="red") instead. Best, Michael -- Michael Knudsen micknudsen at gmail.com http://lifeofknudsen.blogspot.com/
On Aug 18, 2009, at 1:40 AM, Michael Knudsen wrote:> On Sun, Aug 16, 2009 at 9:19 PM, malcolm > Crouch<malcolm.croucher at gmail.com> wrote: > >>> plot(V6,V5, col="red") >> or >>> plot(V6,V5) > > It seems that V5 and V6 are column names in your data matrix. If your > matrix is called data, you should use > > plot(x$V6,x$V5,col="red")ITYM: plot(data$V6, data$V5, col="red")> > instead. > > Best, > MichaelDavid Winsemius, MD Heritage Laboratories West Hartford, CT