sinta7

uso di width

:
with
style linestyle ....ls ....line_style
linetype .... ...............lt ....line_type
linewidth .....................lw... line_width
pointtype ................... pt ....point_type
pointsize ................... ps ....point_size

style:either lines, points, linespoints, impulses, dots, steps, fsteps, histeps, errorbars, xerrorbars, yerrorbars, xyerrorbars, boxes, boxerrorbars, boxxyerrorbars, financebars, candlesticks ,vector.
set function style (default)
set data style
(default)



plot sin(x) with impulses

 

Example: Suppose that the default lines for indices 1, 2, and 3 are red, green, and blue, respectively, and the default point shapes for the same indices are a square, a cross, and a triangle, respectively. Then

set linestyle 1 lt 2 lw 2 pt 3 ps 0.5






plot sin(x) with linesp lt 1 pt 3, cos(x) with linesp lt 1 pt 4


 

plot sin(x) with lines lt 2 , cos(x) with impulses lt 1

plot sin(x) with lines linetype 2 , cos(x) with impulses linetype 1

con codice intero (linetype..: lt)

 


plot sin(x) with style (lines) linetype (lt 2) linewidth (lw 2),cos(x) width style (points) pointtype (pt 2) pointsize (ps 3)

plot sin(x) with lines lt 2 lw 2 , cos(x) with points pt 2 ps 3

 


 

set function style lines
plot x lt 3, sin(x) lt 1
, cos(x) lt 2, 2*x lt 4



set function style linespoints
plot x pt 3, sin(x) lt 2 ps 1