5.23.20 linestyle

set linestyle <style number> <style specifier> ...

At times, the string of style keywords following the ‘with’ modifier in plot commands can grow rather unwieldily long. For clarity, frequently used plot styles can be stored as linestyles; this is true of styles involving points as well as lines. The syntax for setting a linestyle is:

set linestyle 2 points pointtype 3

where the ‘2’ is the identification number of the linestyle. In a subsequent plot statement, this linestyle can be recalled as follows:

plot sin(x) with linestyle 2