Bernd Maier | 28 Oct 2010 13:42

question/feature request

Hi,

Veusz is a great software, I am currently using it (latest version 1.9).

Two things are however missing (either that or I'm not able to do it
properly): 

1) One cannot set the distance between the key text and the key itself
manually.

2) One cannot freely choose the size (width) of the error bar ends. It
is possible to achieve this with scaling the marker sizes, but that's
not an optimal solution.

Both things would be great to have. Is it possible or may it be
implemented soon?

Thanks, and best wishes,
Bernd
Bernd Maier | 8 Nov 2010 17:32

Re: question/feature request

Bernd Maier <maier.bernd <at> ...> writes:

> 
> Hi,
> 
> Veusz is a great software, I am currently using it (latest version 1.9).
> 
> Two things are however missing (either that or I'm not able to do it
> properly): 
> 
> 1) One cannot set the distance between the key text and the key itself
> manually.
> 
> 2) One cannot freely choose the size (width) of the error bar ends. It
> is possible to achieve this with scaling the marker sizes, but that's
> not an optimal solution.
> 
> Both things would be great to have. Is it possible or may it be
> implemented soon?
> 
> Thanks, and best wishes,
> Bernd
> 

Hi,

I have now hacked this in the code by myself, if anyone is interested:

1) in key.py:
- I added a new property:
(Continue reading)

Jeremy Sanders | 8 Nov 2010 20:30
Gravatar

Re: question/feature request

Bernd Maier wrote:

> 1) in key.py:
> - I added a new property:
> "s.add(setting.Distance('keyGap', '0.2cm', descr = 'Gap between key
> and keytext', usertext= 'key-text gap', formatting=True))"
> 
> - then the total box size changes:
> "# total size of box
>  gap = s.get('keyGap').convert(painter) #added this line
>  symbolwidth = s.get('keyLength').convert(painter)
>  totalwidth = ( (maxwidth + gap + symbolwidth)*numcols +
> height*(numcols-1) ) #changed height to gap here"
> 
> - writing the key text must be changed as well:
> "# write key text
>  if showtext:
>    painter.setPen(textpen)
>    utils.Renderer(painter, font,
>                   xpos + gap + symbolwidth, ypos,
>                   plotter.getKeyText(num),
>                  -1, 1).render() # changed height to gap"
> 
> - now you can change the gap between key and keytext by a property box
>  in the GUI.
> 
> 2) Here, I only changed the width of the errorbar-ends the way I like it:
> 2/3 of the symbol width. A control box here would be nice too.
> 
> I would appriciate, if this would be considered by Jeremy Sanders for the
(Continue reading)


Gmane