K.Moriyama wrote:
>> p x
>> rep 2*x
A side note:
p x, 2*x
would have been faster, and more direct, to get the final plot.
>> The first color is red, the second green. Is it possible to change
>> these colors to e.g. red and blue?
> You can do it by using "set style line".
'set style line' would be an unnecessary detour for this simple task.
p x lt 1, 2*x lt 3
would have worked just as well (on those terminals where lintetype three
is blue, that is...).
|