Mathc initiation/Fichiers c : c12b

Sommaire


Les contrôles graphiques :


test

Cet exemple donne les informations de base.

# ---------------------
# Copy and past this file into the screen of gnuplot
#
#
#
test
reset
# --------------


Chaque nombre correspond à une couleur différente.

linetype | lt <0..8>

# ---------------------
# Copy and past this file into the screen of gnuplot
#
#  linetype  | lt <0..8> 
#
plot [-10.:10] [-1:9]\
     0 lt  0,\
     1 lt  1,\
     2 lt  2,\
     3 lt  3,\
     4 lt  4,\
     5 lt  5,\
     6 lt  6,\
     7 lt  7,\
     8 lt  8
reset
# ---------------------


Chaque nombre correspond à une épaisseur différente.

linewidth | lw <1.. 6>

# ---------------------
# Copy and past this file into the screen of gnuplot
#
#  #  linewidth | lw <1.. 6>
#
plot [-10.:10] [0:7]\
     1 lw  1,\
     2 lw  2,\
     3 lw  3,\
     4 lw  4,\
     5 lw  5,\
     6 lw  6
reset
# ---------------------


Quelques exemles :

# ---------------------
# Copy and past this file into the screen of gnuplot
#
#  linetype  | lt <0..8>   (color)
#  linewidth | lw <1..6>   (size)
#
plot [-5.:5] [-1:1]\
     cos(x) lt 8 lw  6,\
     sin(x) lt 7 lw  6
reset
# ---------------------


Pour éviter la déformation du graphe :

set size ratio -1

# ---------------------
# Copy and past this file into the screen of gnuplot
#
#  linetype  | lt <0..8>   (color)
#  linewidth | lw <1..6>   (size)
#
set size ratio -1
plot [-5.:5] [-1:1]\
     cos(x) lt 8 lw  6,\
     sin(x) lt 7 lw  6
reset
# ---------------------