Connecting two XY series
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi guys I have a quick question. I have two sets of Data. for e.g
A =
1 2
3 4
and
B =
10 12
13 14
Now i want to connect the coordinate (1,2) with (10,12) and (3,4) with (13,14) with a either a line with arrow pointing to the coordinates in B, and in a separate chart, the same plot but instead of a line the shape should be a rectangle with a certain width. Can someone help.
0 comentarios
Respuestas (1)
Image Analyst
el 20 de Ag. de 2012
Editada: Image Analyst
el 20 de Ag. de 2012
Try the annotation() function for the arrow, and the rectangle() function for the rectangle.
0 comentarios
Ver también
Categorías
Más información sobre Annotations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!