From: Nicholas E. Singh-M. <nedward@MIT.EDU> - 2008-02-08 04:00:46
|
Dear PyX-users, I am trying to fill a plot in a similar manner to the gallery example called `integral'. I run into an issue when I use the command p = d.path. I guess the issue is that it seems to trace the path no problem, but where/if the path crosses the boundary of the graph, .path produces a discontinuous path. This only really becomes a problem when I want to uses a method to close the path in order to fill it. >From my perspective, I could write a script that would use intersect() to determine where/when the path crosses out of the graph and then add those sections to the total path, but I guess I was hoping there may be an easier way. Thanks in advance for any advice, Nick |