Created
January 29, 2018 00:35
-
-
Save VincentTam/28f2c2439c58cc034cf86cd90fdeda76 to your computer and use it in GitHub Desktop.
Graph of a connected not path connected set https://math.stackexchange.com/q/2625777/290189 image:https://i.stack.imgur.com/b3ahP.png
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
figure | |
title('A connected not path connected set') | |
hold on | |
% Plot set A | |
for i = 1:10 | |
plot([0,1], [0,1/i], "linewidth", 2) | |
end | |
% Plot set B | |
plot([0.5,1],[0,0],'--', "linewidth",2) | |
% dist(A_1,B\A_1) | |
quiver(1,0.75,0,0.25,0,'linewidth',1.7,'MaxHeadSize',0.1) | |
quiver(1,0.75,0,-0.25,0,'linewidth',1.7,'MaxHeadSize',0.1) | |
text(1, 0.75,"angle difference = 0.322") | |
% dist(A_1 U A_2, B\(A_1 U A_2) | |
quiver(0.8,0.6,0,0.2,0,'linewidth',1.7,'MaxHeadSize',0.1) | |
quiver(0.8,0.6,0,4/15-0.6,0,'linewidth',1.7,'MaxHeadSize',0.1) | |
text(0.4, 0.6,"angle difference = 0.463") | |
hold off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment