|
From: seb_kramm <seb...@ya...> - 2013-06-01 09:34:50
|
On 05/31/2013 05:13 PM, Ethan A Merritt wrote: > On Friday, 31 May 2013, seb_kramm wrote: >> Now, I want to have the type of the point depend on a column of data. > > The closest is to use selected single character glyphs instead of > the predefined point types. Then you can use a command such as > > set encoding utf8 > symbol = "+⁕∙∎⊙⊡★☆♠♣♥♦" > plot FOO using 1:2:(symbol[int($3):int($3)]) with labels > > A more complicated variant using sprintf allows you to also vary > the color and size of the font used. See for example > http://gnuplot.sourceforge.net/demo_cvs/cities.html Thanks Ethan, very interesting as usual. However, even if it does work, I don't understand how: where does this data specifier come from: symbol[int($3):int($3)] I've been searching the pdf doc (4.6) for the string "symbol", found nothing relevant, so I'm puzzled... An undocumented feature ? Thanks Sebastien Kramm |