9 lines
183 B
Mathematica
9 lines
183 B
Mathematica
|
|
function plottruss(where,text,p,x)
|
||
|
|
try
|
||
|
|
subplot(2,2,where)
|
||
|
|
title(text)
|
||
|
|
cla;
|
||
|
|
pic(p.options.truss,x(union(p.integer_variables,p.binary_variables)));
|
||
|
|
drawnow
|
||
|
|
catch
|
||
|
|
end
|