On 12/04/12 16:59, Patrick Durrell wrote:
> I am plotting ellipses and circles (simply using `Add ellipse') over
> images plotted on traditional x- y- axes, but I find the
> ellipses/circles extend outside the axes.  I wanted to ask if someone
> knows how to keep that from happening (just to keep plotted objects
> inside the axes), in order to `clean up' the plot.  

Unfortunately the ellipse widget doesn't clip itself to the graph
bounds, as it was intended for highlighting things on a graph, rather
than plotting data. It and the line widget need a "clip" setting. It
should be very easy to fix this for the next release.

As a workaround, you'll have to simulate an ellipse, either by making
datasets plotting x = r * cos(t*2*pi) and y = r * sin(t*2*pi) - use
parametric dataset creation, or plotting two functions -sqrt( r**2 -
x**2 ) and sqrt( r**2- x**2).

Jeremy


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

Répondre à