Hi all: Is there a plot tool to use different color indicates difference magnitude of data? The plot is in the attachment. Many thanks.
Hi, The attachment has been deleted. Please be more specific. Regards, Pascal On 13/03/13 10:20, meng wrote:> Hi all: > Is there a plot tool to use different color indicates difference magnitude of data? > The plot is in the attachment. > > Many thanks. > > > > > > ______________________________________________ > 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. >
So strange to find the attachment is disappear. Resent again. At 2013-03-13 13:01:01,"Pascal Oettli" <kridox at ymail.com> wrote:>Hi, > >The attachment has been deleted. Please be more specific. > >Regards, >Pascal > >On 13/03/13 10:20, meng wrote: >> Hi all: >> Is there a plot tool to use different color indicates difference magnitude of data? >> The plot is in the attachment. >> >> Many thanks. >> >> >> >> >> >> ______________________________________________ >> 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 13/03/13 10:20, meng wrote: >> Hi all: >> Is there a plot tool to use different color indicates difference >> magnitude of data? >> The plot is in the attachment. >> >> Many thanks.No sure what you want exactly as there is no attachment here. Here are an example of what can be done: x <- 1:128 y <- rnorm(128, 10, 2) z <- x+y nbcol <- heat.colors(128) # standardize z to be from 1 to 128 zcol <- ((z-min(z))/(max(z)-min(z)))*127+1 # different examples plot(x, y, col=nbcol[zcol], pch=".", cex=10, bty="n") plot(x, y, col=nbcol[zcol], pch=".", cex=zcol/10, bty="n") plot(x, y, col=nbcol[128-zcol], pch=".", cex=10, bty="n") Sincerly Marc -- __________________________________________________________ Marc Girondot, Pr Laboratoire Ecologie, Syst?matique et Evolution Equipe de Conservation des Populations et des Communaut?s CNRS, AgroParisTech et Universit? Paris-Sud 11 , UMR 8079 B?timent 362 91405 Orsay Cedex, France Tel: 33 1 (0)1.69.15.72.30 Fax: 33 1 (0)1.69.15.73.53 e-mail: marc.girondot at u-psud.fr Web: http://www.ese.u-psud.fr/epc/conservation/Marc.html Skype: girondot
On Wed, Mar 13, 2013 at 4:13 AM, meng <laomeng_3 at 163.com> wrote:> So strange to find the attachment is disappear. > Resent again.Not strange at all. This list does not accept binary attachments, as detailed in the posting guide linked at the bottom of this and every list message. Sarah> > At 2013-03-13 13:01:01,"Pascal Oettli" <kridox at ymail.com> wrote: >>Hi, >> >>The attachment has been deleted. Please be more specific. >> >>Regards, >>Pascal >> >>On 13/03/13 10:20, meng wrote: >>> Hi all: >>> Is there a plot tool to use different color indicates difference magnitude of data? >>> The plot is in the attachment. >>> >>> Many thanks. >>> >>>-- Sarah Goslee http://www.functionaldiversity.org
The R-help list strips most attachements other than text (and perhaps pngs? ) to deduce the risk of virus or malware being recieved. You could try parking the file on something like medifire and providing a link here. John Kane Kingston ON Canada> -----Original Message----- > From: laomeng_3 at 163.com > Sent: Wed, 13 Mar 2013 16:13:33 +0800 (CST) > To: kridox at ymail.com > Subject: Re: [R] different color indicates difference magnitude > > So strange to find the attachment is disappear. > Resent again. > > > > > > > > > > At 2013-03-13 13:01:01,"Pascal Oettli" <kridox at ymail.com> wrote: > >Hi, >> > >The attachment has been deleted. Please be more specific. >> > >Regards, > >Pascal >> > >On 13/03/13 10:20, meng wrote: >>> Hi all: >>> Is there a plot tool to use different color indicates difference >>> magnitude of data? >>> The plot is in the attachment. >>> >>> Many thanks. >>> >>> >>> >>> >>> >>> ______________________________________________ >>> 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. >>> > ______________________________________________ > 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.____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
If you are just looking for a range of colors that communicate low to high values, try package RColorBrewer and look at the sequential palettes. ---------------------------------------------- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77843-4352> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of John Kane > Sent: Wednesday, March 13, 2013 11:19 AM > To: meng; Pascal Oettli > Cc: R help > Subject: Re: [R] different color indicates difference magnitude > > The R-help list strips most attachements other than text (and perhaps > pngs? ) to deduce the risk of virus or malware being recieved. > > You could try parking the file on something like medifire and providing > a link here. > > John Kane > Kingston ON Canada > > > > -----Original Message----- > > From: laomeng_3 at 163.com > > Sent: Wed, 13 Mar 2013 16:13:33 +0800 (CST) > > To: kridox at ymail.com > > Subject: Re: [R] different color indicates difference magnitude > > > > So strange to find the attachment is disappear. > > Resent again. > > > > > > > > > > > > > > > > > > > > At 2013-03-13 13:01:01,"Pascal Oettli" <kridox at ymail.com> wrote: > > >Hi, > >> > > >The attachment has been deleted. Please be more specific. > >> > > >Regards, > > >Pascal > >> > > >On 13/03/13 10:20, meng wrote: > >>> Hi all: > >>> Is there a plot tool to use different color indicates difference > >>> magnitude of data? > >>> The plot is in the attachment. > >>> > >>> Many thanks. > >>> > >>> > >>> > >>> > >>> > >>> ______________________________________________ > >>> 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. > >>> > > ______________________________________________ > > 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. > > ____________________________________________________________ > FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on > your desktop! > > ______________________________________________ > 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 Mar 13, 2013, at 9:18 AM, John Kane wrote:> The R-help list strips most attachements other than text (and perhaps pngs? ) to deduce the risk of virus or malware being recieved.More accurately the server strips all files of type that are not in the set: MIME-TEXT, pdf, png. Most mail clients will not label files ending in .dat, .csv or .fil as mime-text and so many files which would otherwise be helpful and are ASCII files do get discarded. I do not think that the server applies a test to the extension but rather that the mail clients are causing the problem by labeling them something else. I am attaching an ascii file with an extension `.dat`. I expect it to be stripped. -------------- next part -------------- --- David> > You could try parking the file on something like medifire and providing a link here. > > John Kane > Kingston ON Canada > > >> -----Original Message----- >> From: laomeng_3 at 163.com >> Sent: Wed, 13 Mar 2013 16:13:33 +0800 (CST) >> To: kridox at ymail.com >> Subject: Re: [R] different color indicates difference magnitude >> >> So strange to find the attachment is disappear. >> Resent again. >> >> >> At 2013-03-13 13:01:01,"Pascal Oettli" <kridox at ymail.com> wrote: >>> Hi, >>> >>> The attachment has been deleted. Please be more specific. >>> >>> Regards, >>> Pascal >>> >>> On 13/03/13 10:20, meng wrote: >>>> Hi all: >>>> Is there a plot tool to use different color indicates difference >>>> magnitude of data? >>>> The plot is in the attachment. >>>> >>>> Many thanks. >>>> >>>>David Winsemius Alameda, CA, USA
Thanks David. The clarification helps. I had forgotten that pdfs would get through. Howeve the file got to me, I suspect because I am listed in the To line under my actual email address. I suspect that only meng and I recieved it and the rest of the list did not. John Kane Kingston ON Canada> -----Original Message----- > From: dwinsemius at comcast.net > Sent: Wed, 13 Mar 2013 10:45:46 -0700 > To: jrkrideau at inbox.com > Subject: Re: [R] different color indicates difference magnitude > > > On Mar 13, 2013, at 9:18 AM, John Kane wrote: > >> The R-help list strips most attachements other than text (and perhaps >> pngs? ) to deduce the risk of virus or malware being recieved. > > More accurately the server strips all files of type that are not in the > set: MIME-TEXT, pdf, png. > > Most mail clients will not label files ending in .dat, .csv or .fil as > mime-text and so many files which would otherwise be helpful and are > ASCII files do get discarded. I do not think that the server applies a > test to the extension but rather that the mail clients are causing the > problem by labeling them something else. > > I am attaching an ascii file with an extension `.dat`. I expect it to be > stripped. > > > --- > David > >> >> You could try parking the file on something like medifire and providing >> a link here. >> >> John Kane >> Kingston ON Canada >> >> >>> -----Original Message----- >>> From: laomeng_3 at 163.com >>> Sent: Wed, 13 Mar 2013 16:13:33 +0800 (CST) >>> To: kridox at ymail.com >>> Subject: Re: [R] different color indicates difference magnitude >>> >>> So strange to find the attachment is disappear. >>> Resent again. >>> >>> >>> At 2013-03-13 13:01:01,"Pascal Oettli" <kridox at ymail.com> wrote: >>>> Hi, >>>> >>>> The attachment has been deleted. Please be more specific. >>>> >>>> Regards, >>>> Pascal >>>> >>>> On 13/03/13 10:20, meng wrote: >>>>> Hi all: >>>>> Is there a plot tool to use different color indicates difference >>>>> magnitude of data? >>>>> The plot is in the attachment. >>>>> >>>>> Many thanks. >>>>> >>>>> > > David Winsemius > Alameda, CA, USA____________________________________________________________ FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more!
On Mar 13, 2013, at 10:45 AM, David Winsemius wrote:> > On Mar 13, 2013, at 9:18 AM, John Kane wrote: > >> The R-help list strips most attachements other than text (and perhaps pngs? ) to deduce the risk of virus or malware being recieved. > > More accurately the server strips all files of type that are not in the set: MIME-TEXT, pdf, png. > > Most mail clients will not label files ending in .dat, .csv or .fil as mime-text and so many files which would otherwise be helpful and are ASCII files do get discarded. I do not think that the server applies a test to the extension but rather that the mail clients are causing the problem by labeling them something else. > > I am attaching an ascii file with an extension `.dat`. I expect it to be stripped.My mail client labeled that attachment as: ------ --Apple-Mail-83-489973374 Content-Disposition: attachment; filename=junk.dat Content-Type: application/octet-stream; name="junk.dat" Content-Transfer-Encoding: 7bit --------- ... and the server stripped it, since it was expecting something like this: --Apple-Mail-83-489973374 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii And I am here attaching a file I expect to remain attached: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: fil.txt URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130313/9e82c4c9/attachment.txt> -------------- next part -------------- -- David> > --- > David > >> >> You could try parking the file on something like medifire and providing a link here. >> >> John Kane >> Kingston ON Canada >> >> >>> -----Original Message----- >>> From: laomeng_3 at 163.com >>> Sent: Wed, 13 Mar 2013 16:13:33 +0800 (CST) >>> To: kridox at ymail.com >>> Subject: Re: [R] different color indicates difference magnitude >>> >>> So strange to find the attachment is disappear. >>> Resent again. >>> >>> >>> At 2013-03-13 13:01:01,"Pascal Oettli" <kridox at ymail.com> wrote: >>>> Hi, >>>> >>>> The attachment has been deleted. Please be more specific. >>>> >>>> Regards, >>>> Pascal >>>> >>>> On 13/03/13 10:20, meng wrote: >>>>> Hi all: >>>>> Is there a plot tool to use different color indicates difference >>>>> magnitude of data? >>>>> The plot is in the attachment. >>>>> >>>>> Many thanks. >>>>> >>>>> >David Winsemius Alameda, CA, USA