Thursday, January 9, 2014

32 - Colors in Gnuplot

Sometime one needs to use different colors to depict a figure. With the knowledge of the "Hex Code" of each color in Gnuplot, we can choose our favor color to plot.

To use "Hex Code"s we do as follow
pl 'FileName.dat' u 1:2 w lp lc rgb '#HexCode'

For example, the Hex Code for the blueviolet is 0000FF. The codes for each color can be found in
below figures. (From this Website)













No comments:

Post a Comment