Filter löschen
Filter löschen

Create a startpoint in form of a ring on my graph

1 Ansicht (letzte 30 Tage)
Cillian
Cillian am 26 Jun. 2012
Hi!
I wonder how to create a marker in form of a "ring/circle" on my startpoint a graph?
Thanks Cillian

Akzeptierte Antwort

Thomas
Thomas am 26 Jun. 2012
try
a=[1 2 3 4]; %data to be plotted
plot(a)
hold on
plot(a(1),'o','MarkerSize',10) % start point with circle
  6 Kommentare
Thomas
Thomas am 27 Jun. 2012
try the following
plot3(YOUT(:,1),YOUT(:,2),YOUT(:,3),'b') % your actual plot
hold on
plot3(YOUT(1,1),YOUT(1,2),YOUT(1,3),'o','MarkerSize',10) % start point
Cillian
Cillian am 27 Jun. 2012
Thanks again, it works great. :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by