colorschemes            package:dichromat            R Documentation

_C_o_l_o_r _s_c_h_e_m_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     17 color schemes suitable for people with deficient or anomalous
     red-green vision.

_U_s_a_g_e:

     colorschemes

_F_o_r_m_a_t:

        *  BrowntoBlue.10 

        *  BrowntoBlue.12 

        *  BluetoDarkOrange.12

        *  BluetoDarkOrange.18

        *  DarkRedtoBlue.12   

        *  DarkRedtoBlue.18   

        *  BluetoGreen.14     

        *  BluetoGray.8       

        *  BluetoOrangeRed.14   

        *  BluetoOrange.10      

        *  BluetoOrange.12      

        *  BluetoOrange.8       

        *  LightBluetoDarkBlue.10

        *  LightBluetoDarkBlue.7 

        *  Categorical.12        

        *  GreentoMagenta.16     

        *  SteppedSequential.5

_A_u_t_h_o_r(_s):

     R code by Scott Waichler <scott.waichler@pnl.gov>

_S_o_u_r_c_e:

     Light A. and P.J. Bartlein, 2004.  "The end of the rainbow?  Color
     schemes for improved data graphics," EOS Transactions of the
     American Geophysical Union 85(40):385.

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://geography.uoregon.edu/datagraphics/color_scales.htm>

_E_x_a_m_p_l_e_s:

     opar <- par(mar=c(1,2,1,1))
     layout(matrix(1:6,ncol=1))
     image(1:10,1,matrix(1:10, ncol=1),col=colorschemes$BrowntoBlue.10,
         main="Brown to Blue (10)", axes=FALSE)
     image(1:100,1,matrix(1:100 ,ncol=1),col=colorRampPalette(colorschemes$BrowntoBlue.10,space="Lab")(100),
         main="Brown to Blue Ramp", axes=FALSE)
     image(1:10,1,matrix(1:10, ncol=1),col=dichromat(colorschemes$BrowntoBlue.10),
        main="Brown to Blue (10) -- deuteranopia", axes=FALSE)
     image(1:12,1,matrix(1:12, ncol=1),col=colorschemes$Categorical.12,main="Categorical (12)", axes=FALSE)
     image(1:12,1,matrix(1:12, ncol=1),col=dichromat(colorschemes$Categorical.12),
        main="Categorical (12) -- deuteranopia", axes=FALSE)
     image(1:12,1,matrix(1:12,ncol=1),col=dichromat(colorschemes$Categorical.12, "protan"),
        main="Categorical (12) -- protanopia", axes=FALSE)
     par(opar)

