Commit 7a834901 authored by Marco Ratto's avatar Marco Ratto
Browse files

filter out other forbidden characters (parentheses and dot) for field name..

parent a308a17d
......@@ -46,6 +46,9 @@ options.nobs=mydata.nobs;
label = mydata.shock_group.label;
label = strrep(label,' ','_');
label = strrep(label,'-','_');
label = strrep(label,'(','');
label = strrep(label,')','');
label = strrep(label,'.','');
shocks = mydata.shock_group.shocks;
options.plot_shock_decomp.fig_name = [mydata.fig_name '. Expand'];
options.plot_shock_decomp.use_shock_groups = label; %[use_shock_groups_old int2str(ic)];
......
Supports Markdown
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