Resetting setMTEXpref

48 views
Skip to first unread message

MTEXNewbie

unread,
Dec 5, 2017, 7:03:52 AM12/5/17
to MTEX
I am changing the color map in the middle of the script, all the next scripts have the new ColorMap as a result.

setMTEXpref('defaultColorMap',blue2redColorMap);

Is there a way to reset (re-read the preference) "setMTEXpref" at the beginning of the script run?

Probably something like this -
clear all;
setMTEXpref('settings',reset);

Ralf Hielscher

unread,
Dec 5, 2017, 7:23:16 AM12/5/17
to MTEX
mtex_settings

does the trick.

Ralf.

MTEXNewbie

unread,
Dec 5, 2017, 7:30:52 AM12/5/17
to MTEX
It worked, thanks!
Reply all
Reply to author
Forward
0 new messages