No BSD License  

Highlights from
MatPlanWDM v0.5

image thumbnail
from MatPlanWDM v0.5 by Pablo Pavon MariƱo
Educational network planning tool for the RWA problem in WDM networks (MILP and heuristic based)

GUIlegend.m
%VIRTUAL TOPOLOGY LEGEND
axes(handles.axes4)
%Node
plot(0.8,0.95,'bo','MarkerSize',10,'Color',[1 0.41 0],'LineWidth',2.0,'MarkerFaceColor',[1 0.41 0]);
%Physical edge
line([0 1],[0.35 0.35],'color',[1 0.41 0],'lineWidth',2);
%Lightpath
arrow(line([0 1],[-0.25 -0.25],'color',[0 0 0.52],'lineWidth',1.5),'Length',19,'BaseAngle',90,'TipAngle',10,'Width',0,'FaceColor',[0 0 0.52]);
%Flow
arrow(line([0 1],[-0.85 -0.85],'color',[0 0.41 0],'lineWidth',1.5),'Length',19,'BaseAngle',90,'TipAngle',10,'Width',0,'FaceColor',[0 0.41 0]);
% %Orange text
% text(0.1,-1.45,'label','color',[1 0.41 0],'lineWidth',2);
% %Blue text
% text(0.1,-2.05,'label','color',[0 0 0.52],'lineWidth',2);
set(handles.text10,'Visible','on');
axis off

Contact us at files@mathworks.com