Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu!yanling From: yanling@ccwf.cc.utexas.edu (yanling) Newsgroups: comp.windows.x Subject: colormap needed ! (standard optical spectrum colormap) Message-ID: <51207@ut-emx.uucp> Date: 25 Jun 91 20:30:29 GMT Sender: news@ut-emx.uucp Reply-To: yanling@ccwf.cc.utexas.edu (yanling) Organization: The University of Texas at Austin Lines: 18 Originator: yanling@sleepy.cc.utexas.edu Hi X world, I got a question about colormap. I need to plot a color picture of temperature field. I would like to code the temperature field as red for highest temperature and blue for lowest temperature in a geometric domain. The color should be changed linearly from red to blue with the temperature from highest to lowest. The colormap I need should be a standard spectrum like we see from physics textbook. When the pixal values go from 2 to 256, the colors vary from red orange, yellow, green ... blue. Thanks in advance. --yanling