C++ etc.
Monday, June 6, 2011
Colour a vector depending on a condition in gnuplot
plot "data.txt" using 1:2:(+0):(-($2-$3)):(($2 > $3) ? (rgb("0","255","0")):(rgb("255","0","0"))) notitle with vectors lc rgb variable
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment