From: Thomas S. <t.s...@fz...> - 2010-05-14 20:27:33
|
rgbcolors are made of 3 components - red, green, and blue, represented as hexadecimal values: #RRGGBB the 3 color values are in the range 0-255, so the rgbcolor as a decimal value is: 65536 * red + 256 * green + blue you read in this decimal value in your plot command, a value of '200' means that the red and green components are zero - the number is too small - so the circle is blue. some rgbcolor value examples: red: 65536*255 = 16711680 green: 256*255 = 65280 blue: 255 instead of rgbcolors you could use a color palette: plot ... linecolor palette ... exprexxo wrote: > > Here is another example without a file > > set title "A Venn Diagram" > unset border > unset xtics > unset ytics > set size ratio -1 > set xrange [-10:10] > set yrange [-10:10] > plot '-' using 1:2:3:4 with circles lc rgb variable fs transparent solid > 0.15 noborder > 2 2 4 1 > -2 2 5 200 > 0 -2 5 3 > e > > However I can not figure out what numbers I should be using for RGB other > than 200 gives me blue. > -- View this message in context: http://old.nabble.com/How-to-dynamically-specify-color-for-drawing-circle-in-Gnuplot4.3-tp21376845p28563985.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |