How can I add the arrow to the graph like this picture ?
Mostra commenti meno recenti
I make a plot in GUI, How can I add the arrow on the graph like the picture ? help me. Thanks you very much.
Risposta accettata
Più risposte (1)
Youssef Khmou
il 23 Dic 2013
Modificato: Youssef Khmou
il 23 Dic 2013
Nguyen, That is thermodynamic cycle, there might be a solution, however try this temporary example :
X=[2 4 4 2 2]; Y=[2 1 5 7 2];
plot(X,Y)
axis([0 7 0 7])
xlabel('Volume'), ylabel('Pressure');
Try then to put carefully the arrows with these commands :
gtext('>','FontSize',20,'Rotation',-30);
gtext('<','FontSize',20,'Rotation',-30);
gtext('<','FontSize',20,'Rotation',-90);
gtext('<','FontSize',20,'Rotation',90);
Try to choose the right angle in the property "Rotation" .
1 Commento
Nguyen Trong Nhan
il 23 Dic 2013
Categorie
Scopri di più su Graph and Network Algorithms in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!