Hi everyone, anyone know if is possible to create color or if there are color packages. I'm just trying here, but to be honest I dont like any. I need something like a traffic light
here's my code
mkmat s1 s2 s3 s4 s5 s6, matrix(promedios) rownames(cooperativa)
matrix list promedios, format(%8.2f)
foreach v in "cyan" "blue" "red" "green" "gold" "magenta" "pink" "orange_red" "ltblue" "ltbluishgray" "olive teal" "forest green" "sunflowerlime" "dkorange" "gs15 " {
plotmatrix , mat(promedios) color("`v'") maxticks(15) ylabel(,angle(0)labsize(vsmall))xlabel(1 "Colaboración entre actores" 2 "Vinculación al mercado" 3 "Gobernanza" 4 "Acceso a servicios" 5 "Innovación incluyente" 6 "Medición de resultados", angle(30) labsize(vsmall))legend(size(*.8) pos(12))title("Calificación por Cooperativa") subtitle("Escala 0-5")note("Fuente: Elaboración propia en base a encuesta LINK.", span)ytitle("Cooperativas") scheme(sj) split (0 0.5 0.5 1 1 1.5 1.5 2 2 2.5 2.5 3 3 3.5 3.5 4 4 4.5 4.5 5)
graph save Graph "graficos\prueba\puntaje cooperativa`v'.gph", replace
}thanks!
here's my code
mkmat s1 s2 s3 s4 s5 s6, matrix(promedios) rownames(cooperativa)
matrix list promedios, format(%8.2f)
foreach v in "cyan" "blue" "red" "green" "gold" "magenta" "pink" "orange_red" "ltblue" "ltbluishgray" "olive teal" "forest green" "sunflowerlime" "dkorange" "gs15 " {
plotmatrix , mat(promedios) color("`v'") maxticks(15) ylabel(,angle(0)labsize(vsmall))xlabel(1 "Colaboración entre actores" 2 "Vinculación al mercado" 3 "Gobernanza" 4 "Acceso a servicios" 5 "Innovación incluyente" 6 "Medición de resultados", angle(30) labsize(vsmall))legend(size(*.8) pos(12))title("Calificación por Cooperativa") subtitle("Escala 0-5")note("Fuente: Elaboración propia en base a encuesta LINK.", span)ytitle("Cooperativas") scheme(sj) split (0 0.5 0.5 1 1 1.5 1.5 2 2 2.5 2.5 3 3 3.5 3.5 4 4 4.5 4.5 5)
graph save Graph "graficos\prueba\puntaje cooperativa`v'.gph", replace
}thanks!
Comment