|
From: Thomas S. <t.s...@fz...> - 2011-09-22 09:11:58
|
Dr. Ing. Dieter Jurzitza <dieter.jurzitza <at> t-online.de> writes: > 1.) is there a way to align labels vs. x2 or y2-axis? From the online help I > cannot see an option like > > set label "TEXT" axis x1y2 at 1.5,0.7 set label "TEXT" at first 1.5, second 0.7 see 'help coordinates' > specifically if you have a log - axis on one hand and a non-log axis on the > other this would be quite helpful. > > 2.) if I read the command description it says > > set label ..... > ............ > ............ > {textcolor <colorspec>} > {point <pointstyle>} > > given this, I would expect to say > > set label "TEXT" at 1.5,0.7 tc 3 > > However, what I have to write is > > set label "TEXT" at 1.5,0.7 tc lt 3 'help textcolor' says: ... Syntax: ... {linecolor | lc} {<colorspec> | <n>} ... {textcolor | tc} {<colorspec> | {linetype | lt} <n>} where <colorspec> has one of the following forms: rgbcolor "colorname" rgbcolor "#RRGGBB" rgbcolor variable # color is read from input file palette frac <val> # <val> runs from 0 to 1 palette cb <value> # <val> lies within cbrange palette z variable # color index is read from input file ... a simple number for textcolor as <colorspec> means nothing, there is no predefined "colortype" (in contrast to 'linetype') which one could use. either you may use the color of a predefined linetype or you may give the full color specification. > otherwise it does not work. This is not how I would interpret the given syntax > and I cannot imagine anyone who would. Why do I have to reference a linestyle > to specify a text color? > Is this an error in the online documentation? It may be a necessity from > programming standpoint, but from a logical standpoint and from a usability > standpoint it is somewhat strange. > > I would expect "tc" to depict what the user wants to say. Textcolor, that's > it. Just my two points after hours of struggling ..... > > Thank you for looking into this, > take care > > Dieter Jurzitza > > By the way: I am using gnuplot 4.4 patchlevel 2 |