s-news
[Top] [All Lists]

histogram

To: s-news@lists.biostat.wustl.edu
Subject: histogram
From: AHC van Kampen <a.h.vankampen@amc.uva.nl>
Date: Wed, 25 Jun 2003 18:06:00 +0200
Reply-to: a.h.vankampen@amc.uva.nl
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
Dear,

I want to make a graph that contains two histograms (two variables) in one plot. The following produces this histogram, but both in the same color. Is there any trick to use different colors for the two variables?

histogram(All[,1:2],nint=25,col=1);

Antoine

--
  ---------------------------------------
  | Dr. Antoine H.C. van Kampen         |
  | Academic Medical Center Amsterdam   |
  | Bioinformatics Laboratory           |
  | K2-211                              |
  | Postbus 22660                       |
  | 1100 DD  Amsterdam, the Netherlands |
  -------------------------------------------------|
               | Phone:  ++31-20-5667096           |
               | Email:  a.h.vankampen@amc.uva.nl  |
               | www:    http://www.amc.uva.nl/    |
               -------------------------------------



<Prev in Thread] Current Thread [Next in Thread>
  • histogram, AHC van Kampen <=