Skip to content

Instantly share code, notes, and snippets.

@JeroenVinke
Created September 11, 2017 11:21
Show Gist options
  • Select an option

  • Save JeroenVinke/eb7c5a1e1ca6c42a83be0e7d724ccf9d to your computer and use it in GitHub Desktop.

Select an option

Save JeroenVinke/eb7c5a1e1ca6c42a83be0e7d724ccf9d to your computer and use it in GitHub Desktop.
figure(3);
title('test', ...
'fontsize',16);
xlabel('Threshold steps /100','fontsize',16);
ylabel('l','fontsize',16);
[m, v, l] = tsp(50, 0.5, 1);
figure(3);
plot(0.5, l,'k.'); hold on;
[m, v, l] = tsp(50, 0.2, 1);
figure(3);
plot(0.2, l,'k.'); hold on;
[m, v, l] = tsp(50, 0.1, 1);
figure(3);
plot(0.1, l,'k.'); hold on;
[m, v, l] = tsp(50, 0.05, 1);
figure(3);
plot(0.05, l,'k.'); hold on;
[m, v, l] = tsp(50, 0.02, 1);
figure(3);
plot(0.02, l,'k.'); hold on;
[m, v, l] = tsp(50, 0.01, 1);
figure(3);
plot(0.01, l,'k.'); hold on;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment