view test/bug-38565.tst @ 20565:17e507df10e3

Set the default colormap to 'viridis' * script/image/colormap.m: set the default colormap to viridis instead of jet.
author Carlo de Falco <carlo.defalco@polimi.it>
date Thu, 01 Oct 2015 17:35:34 +0200
parents b9e510a1f308
children
line wrap: on
line source

%!function r = f (x)
%!  if (ischar (x))
%!    r = x;
%!  else
%!    error ("expecting character string");
%!  endif
%!endfunction

%!assert (eval ("f 10;"), "10");