thomas lumley tlumleyuwashingtonedu colorramppalette may want thomas wed 6 aug 2008 daniel bernstein wrote hello id like say advance thank help andor advice problem follows dataset made percentages ive assigned error percentages value 100 nonexistent percentages value 0 percentages normal values range high 60s 100 would like create heatmap designates error values gray nonexistent values black would like rest values say 50 100 rainbowtype spectrum like palette spectral rcolorbrewer except 50 values ive tried using breaks implementing breaks heatmap2 command breaks work fine guess want control range colcolorpanel lowcolor1 midcolor2 highcolor3 command way set values low mid high possible think would solve problem ive looked documentation searched previous colorheatmaprelated questions havent come across anything points right direction please let know said needs clarifying give feel appropriate response thanks time regards daniel ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code thomas lumley assoc professor biostatistics tlumleyuwashingtonedu university washington seattle ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code wed 06 aug 2008 203732 0700 r attempting make custom color spectrum use heatmap2