Hi, by default only 16 colors are available. You need to change the number of colors in map0
http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.0/plscmap0n.html Then it should be straight forwarded to set the colors in the map with http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.0/plscmap0.html HTH, Werner On 18.12.2008, at 15:39, Kåre Edvardsen wrote: > Hi all. > > I'd like to set up a colormap in the way that when I call for a > color it should follow the rainbow style by increasing number in the > range 0-255, like: > > plcol0(0): black > plcol(255): white > > and in between: blue -> green -> yellow -> red > > I've tried looking into the plcmap0 stuff, but I cant get it to work > in my perl code. > > Cheers, > Kare > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to > help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/_______________________________________________ > Plplot-general mailing list > Plplot-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plplot-general -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general