Gnuplot/Comando SET ARROW: differenze tra le versioni
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 8: | Riga 8: | ||
La '''Sintassi''' è |
La '''Sintassi''' è |
||
set arrow ''x'' from ''x1,y1'' to ''x2,y2'' |
set arrow ''x'' from ''x1,y1'' to ''x2,y2'' |
||
dove |
dove |
||
''x'' è il '''numero''' identificativo della freccia |
''x'' è il '''numero''' identificativo della freccia |
||
Riga 19: | Riga 17: | ||
''x2,y2'' è la ''coordinata'' della "punta" |
''x2,y2'' è la ''coordinata'' della "punta" |
||
==STILI DI FRECCE== |
|||
Gnuplot stabilisce anche lo stile della freccia utilizzando il comando '''set style arrow'''. |
|||
'''''ESEMPI''''' |
|||
'''set style arrow * head filled''' (''disegna una punta larga'') |
|||
'''set style arrow * head nofilled''' (''disegna una punta stretta'') |
|||
'''set style arrow * heads filled''' (''disegna due punte strette'') |
|||
'''set style arrow * head empty''' (''disegna una punta vuota'') |
|||
'''set style arrow * nohead''' (''disegna una linea'') |
|||
'''set style arrow * heads''' |
Versione delle 22:16, 14 set 2010
Il comando SET ARROW consente di poter scrivere frecce su un grafico.
A volte , per spiegare un grafico, può essere utile scrivere una descrizione dello stesso grafico accompagnato da frecce.Gnuplot lo consente: basta specificare le coordinate.
La Sintassi è
set arrow x from x1,y1 to x2,y2
dove
x è il numero identificativo della freccia
x1,y1 è la coordinata della "cocca"
x2,y2 è la coordinata della "punta"
STILI DI FRECCE
Gnuplot stabilisce anche lo stile della freccia utilizzando il comando set style arrow.
ESEMPI
set style arrow * head filled (disegna una punta larga)
set style arrow * head nofilled (disegna una punta stretta)
set style arrow * heads filled (disegna due punte strette)
set style arrow * head empty (disegna una punta vuota)
set style arrow * nohead (disegna una linea)
set style arrow * heads