Hi -

It's possible to add some support, but it's not trivial. You'd need an efficient algorithm to find points that are very nearby in space and jitter them (maybe a k-d tree would work - you definitely don't want to check every point against every other point).

It's a bit unclear to me by how much points should be jittered - maybe just using the size of the marker would be ok. Would they be randomly jittered, or would you like some sort of regular pattern (side-by-side, in a grid, in a circle...)? You'd also need to choose how close a point should be to be jittered (perhaps some fraction of the marker size).

Jeremy

On 07/02/2013 01:10 PM, M. Ignacio Monge wrote:
Thanks to all of you for your valuable suggestions.

I've been using the random.numpy function as you suggested with quite
good results. However, I've found that X values with different Y axis
values are also jittered. I think that  jittering  should be applied
only when two or more points share the same (or almost the same) Y axis
value. I've attached a graph to show this problem.

Do you think that jittering could be added as an option for future
releases? It could be easy to control the disperssion with the
normal(VAR,value), where "value" can control the jitter amount. Also,
avoiding the random generation every time would be great.

I hope these suggestion could be helpful.

Dr. M. Ignacio Monge García
Servicio de Cuidados Críticos y Urgencias
Hospital SAS de Jerez
C/ Circunvalación s/n. 11408 Jerez de la Frontera. Spain.
Phone: 34 956032090
Fax: 34 956032091


2013/6/23 Jeremy Sanders <[email protected]
<mailto:[email protected]>>

    On 23/06/13 15:10, Sherwood Botsford wrote:

        If Veusz supported transparency, then by using a light color,
        datapoints
        that superimposed would appear darker than the other dots. If your
        symbols themselves are composed of dot arrays -- like a half
        tone screen
        -- then unless they were exactly the same values, the
        displacement would
        make overlapping symbols appear darker, much like overlaying two
        chunks
        of screen wire out of register.


    Veusz does support transparency, so this is another way of doing
    this. Transparency does not work very well in eps output, however,
    but it is fine when using pdf or svg.


    Jeremy



    _________________________________________________
    Veusz-discuss mailing list
    [email protected] <mailto:[email protected]>
    https://mail.gna.org/listinfo/__veusz-discuss
    <https://mail.gna.org/listinfo/veusz-discuss>




_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss



_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à