回答編集履歴

1

Update

2021/12/08 21:50

投稿

melian
melian

スコア20655

test CHANGED
@@ -20,14 +20,14 @@
20
20
 
21
21
 
22
22
 
23
- gnuplot> lc_6 = hex2rgb("#0072b2")
23
+ gnuplot> red = hex2rgb("#FF0000")
24
24
 
25
- gnuplot> lc_7 = hex2rgb("#e51e10")
25
+ gnuplot> blue = hex2rgb("#0000FF")
26
26
 
27
- gnuplot> color(x) = x <= -1.22478 ? lc_7 : lc_6
27
+ gnuplot> color(x) = x <= -1.22478 ? blue : red
28
28
 
29
29
  gnuplot> plot "result1.txt" using 1:2:(color($1)) pt 2 lc rgb variable
30
30
 
31
31
  ```
32
32
 
33
- ![plot](fd82d1b3e338d8352d5b627f44f8b0a8.png)
33
+ ![plot](bf76e0862988bbf46b1bc74727e9cde9.png)