Commit 0fd01b23 authored by Julius Welzel's avatar Julius Welzel

colors

parent 0b37f084
......@@ -4,7 +4,7 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PP analysis for frequency-space patterns in MI
% Age differences in MI
% Data: mad_table (Mareike Daeglau, University of Oldenburg)
% Author: Julius Welzel
......@@ -19,18 +19,21 @@ path_data = [MAIN '04_Data\'];
%Change MatLab defaults
set(0,'defaultfigurecolor',[1 1 1]);
% Change default axes fonts.
set(0,'DefaultAxesFontName', 'Open Sans Light')
set(0,'DefaultAxesFontName', 'CMU Sans Serif')
% Change default text fonts.
set(0,'DefaultTextFontname', 'Open Sans Light')
set(0,'DefaultTextFontname', 'CMU Sans Serif')
%colors
% https://blog.graphiq.com/finding-the-right-color-palettes-for-data-visualizations-fcd4e707a283
c_old_map = cbrewer('seq','Blues',200);
c_o_map = [0.862745106220245,0.925490200519562,0.788235306739807;0.862745106220245,0.925751626491547,0.787973880767822;0.862745106220245,0.926013052463532,0.787712454795837;0.862745106220245,0.926274538040161,0.787450969219208;0.862745106220245,0.926535964012146,0.787189543247223;0.862745106220245,0.926797389984131,0.786928117275238;0.862745106220245,0.927058815956116,0.786666691303253;0.862745106220245,0.927320241928101,0.786405265331268;0.862745106220245,0.927581727504730,0.786143779754639;0.862745106220245,0.927843153476715,0.785882353782654;0.862745106220245,0.928104579448700,0.785620927810669;0.862745106220245,0.928366005420685,0.785359501838684;0.862745106220245,0.928627431392670,0.785098075866699;0.862745106220245,0.928888916969299,0.784836590290070;0.862745106220245,0.929150342941284,0.784575164318085;0.862745106220245,0.929411768913269,0.784313738346100;0.827220320701599,0.916032314300537,0.787312567234039;0.791695535182953,0.902652859687805,0.790311455726624;0.756170690059662,0.889273345470429,0.793310284614563;0.720645904541016,0.875893890857697,0.796309113502502;0.685121119022369,0.862514436244965,0.799307942390442;0.649596333503723,0.849134981632233,0.802306830883026;0.614071547985077,0.835755467414856,0.805305659770966;0.578546702861786,0.822376012802124,0.808304488658905;0.543021917343140,0.808996558189392,0.811303377151489;0.507497131824493,0.795617103576660,0.814302206039429;0.471972316503525,0.782237589359283,0.817301034927368;0.436447530984879,0.768858134746552,0.820299923419952;0.400922745466232,0.755478680133820,0.823298752307892;0.365397930145264,0.742099225521088,0.826297581195831;0.329873144626617,0.728719711303711,0.829296410083771;0.294348329305649,0.715340256690979,0.832295298576355;0.258823543787003,0.701960802078247,0.835294127464294;0.249596327543259,0.668742835521698,0.815224945545197;0.240369096398354,0.635524809360504,0.795155704021454;0.231141880154610,0.602306842803955,0.775086522102356;0.221914663910866,0.569088816642761,0.755017280578613;0.212687432765961,0.535870850086212,0.734948098659515;0.203460216522217,0.502652823925018,0.714878916740418;0.194233000278473,0.469434857368469,0.694809675216675;0.185005769133568,0.436216861009598,0.674740493297577;0.175778552889824,0.402998864650726,0.654671311378479;0.166551336646080,0.369780868291855,0.634602069854736;0.157324105501175,0.336562871932983,0.614532887935638;0.148096889257431,0.303344875574112,0.594463646411896;0.138869673013687,0.270126879215241,0.574394464492798;0.129642441868782,0.236908882856369,0.554325282573700;0.120415225625038,0.203690901398659,0.534256041049957;0.111188009381294,0.170472905039787,0.514186859130859;0.101960785686970,0.137254908680916,0.494117647409439;0.0997198894619942,0.132493004202843,0.480392158031464;0.0974789932370186,0.127731099724770,0.466666668653488;0.0952380970120430,0.122969195246696,0.452941179275513;0.0929972007870674,0.118207290768623,0.439215689897537;0.0907563045620918,0.113445386290550,0.425490200519562;0.0885154083371162,0.108683481812477,0.411764711141586;0.0862745121121407,0.103921577334404,0.398039221763611;0.0840336158871651,0.0991596654057503,0.384313732385635;0.0817927196621895,0.0943977609276772,0.370588243007660;0.0795518234372139,0.0896358564496040,0.356862753629684;0.0773109272122383,0.0848739519715309,0.343137264251709;0.0750700309872627,0.0801120474934578,0.329411774873734;0.0728291347622871,0.0753501430153847,0.315686285495758;0.0705882385373116,0.0705882385373116,0.301960796117783];
c_old = [0.27 0.67 0.81];
% c_old = [0.27 0.67 0.81];
c_old = c_o_map(35,:);
c_young_map = cbrewer('seq','Greens',200);
c_y_map = [1,1,0.854901969432831;1,0.994268476963043,0.843137264251709;1,0.988536953926086,0.831372559070587;1,0.982805430889130,0.819607853889465;1,0.977073907852173,0.807843148708344;1,0.971342384815216,0.796078443527222;1,0.965610861778259,0.784313738346100;1,0.959879338741303,0.772549033164978;1,0.954147815704346,0.760784327983856;1,0.948416292667389,0.749019622802734;1,0.942684769630432,0.737254917621613;1,0.936953246593475,0.725490212440491;1,0.931221723556519,0.713725507259369;1,0.925490200519562,0.701960802078247;0.993557453155518,0.882352948188782,0.689075648784638;0.987114846706390,0.839215695858002,0.676190495491028;0.980672240257263,0.796078443527222,0.663305342197418;0.974229693412781,0.752941191196442,0.650420188903809;0.967787146568298,0.709803938865662,0.637535035610199;0.961344540119171,0.666666686534882,0.624649882316589;0.954901933670044,0.623529434204102,0.611764729022980;0.948459386825562,0.580392181873322,0.598879575729370;0.942016839981079,0.537254929542542,0.585994422435761;0.935574233531952,0.494117647409439,0.573109269142151;0.929131627082825,0.450980395078659,0.560224115848541;0.922689080238342,0.407843142747879,0.547338962554932;0.916246533393860,0.364705890417099,0.534453809261322;0.909803926944733,0.321568638086319,0.521568655967712;0.887344062328339,0.311764717102051,0.525311946868897;0.864884138107300,0.301960796117783,0.529055297374725;0.842424273490906,0.292156875133514,0.532798588275909;0.819964349269867,0.282352954149246,0.536541938781738;0.797504484653473,0.272549033164978,0.540285229682922;0.775044560432434,0.262745112180710,0.544028520584106;0.752584695816040,0.252941191196442,0.547771871089935;0.730124771595001,0.243137255311012,0.551515161991119;0.707664906978607,0.233333334326744,0.555258512496948;0.685204982757568,0.223529413342476,0.559001803398132;0.662745118141174,0.213725492358208,0.562745094299316;0.640285193920136,0.203921571373940,0.566488444805145;0.617825329303742,0.194117650389671,0.570231735706329;0.595365405082703,0.184313729405403,0.573975086212158;0.572905540466309,0.174509808421135,0.577718377113342;0.550445616245270,0.164705887436867,0.581461727619171;0.527985751628876,0.154901966452599,0.585205018520355;0.505525827407837,0.145098045468330,0.588948309421539;0.483065962791443,0.135294124484062,0.592691659927368;0.460606068372726,0.125490203499794,0.596434950828552;0.438146173954010,0.115686275064945,0.600178301334381;0.415686279535294,0.105882354080677,0.603921592235565;0.398599445819855,0.102521009743214,0.578991591930389;0.381512612104416,0.0991596654057503,0.554061651229858;0.364425778388977,0.0957983210682869,0.529131650924683;0.347338944673538,0.0924369767308235,0.504201710224152;0.330252110958099,0.0890756323933601,0.479271739721298;0.313165277242661,0.0857142880558968,0.454341769218445;0.296078443527222,0.0823529437184334,0.429411768913269;0.278991609811783,0.0789915993809700,0.404481798410416;0.261904776096344,0.0756302550435066,0.379551827907562;0.244817927479744,0.0722689107060432,0.354621857404709;0.227731093764305,0.0689075663685799,0.329691886901855;0.210644260048866,0.0655462220311165,0.304761916399002;0.193557426333427,0.0621848739683628,0.279831945896149;0.176470592617989,0.0588235296308994,0.254901975393295];
c_young = [0.86 0.31 0.53];
% c_young = [0.86 0.31 0.53];
c_young = c_y_map(35,:);
c_map = redblue(200);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment