Call a function for colormap

Hi, I have a function CMR64.m :
function pal=CMR64();
CMRmap=[1.00 1.00 1.00;
....
...
pal=flipud(pal);
how can I call it as a colormap to my plot in another file.m ?
Thank you!!

Answers (0)

Categories

Asked:

on 16 Jan 2018

Edited:

on 16 Jan 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!