|
From: Philipp K. J. <ja...@ie...> - 2014-06-19 18:04:09
|
[snip] > > The commands given above recreate the last position > > of the key. By adding/subtracting appropriate values, > > one can achieve any desired offset > > So now I'm confused. > I don't see how this addresses the problem you described before, > that trivial changes to a key title, the terminal type, etc. can cause > the key layout to change. Reproducing the same center position > won't help much if the number of columns changes, or even if the > whole thing suddenly becomes wider. Because this was never the problem I tried to solve! Here is the problem I try to solve: 1) I create a plot. Gnuplot choses a key position. 2) I like the key position overall, but would like to move the key slightly from its default position. 3) To do so, I need to know the values of its default coordinates, so that I can use them to calculate new coordinates that I can feed to "set key at...". I understand that changing the key content will change everything, I also understand that changing the terminal type will change everything. But that's not the problem I am trying to solve. Maybe it's best not to get hung up on the use case. Let's focus on the overall idea: Gnuplot makes info on the most recent plot available in GPVAL variables. It should really include info on the key, as well. > > > The patch is available here, if you want to check > > it out: > > http://www.philipp-janert.com/keypos.patch > > Why not put it on the project patch tracker? > > Ethan |