On 22/06/13 20:33, "M. Ignacio Monge García" wrote:

Is there any way to display data point in scatter plots to avoid
overplotting, such as jittering?

There's no direct support. However, you could add random numbers to the data points to jitter them. The downside to this is that the random numbers change each time the plot is updated, so you don't get consistent results.

Firstly you'd need to import the random number function to be available to use. Go to "Edit->Custom Definitions". Choose "Add". Use type "import", name "numpy.random" and definition "normal" or "uniform". You'll need to click allow when asked.

Then go to "Data->Create dataset" and using an expression like

normal(mydata, 0.5)
 (for a normal or Gaussian distribution)
 or
uniform(mydata-0.5, mydata+0.5)
 (for a uniform distribution)

Jeremy


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

Répondre à